Skip to content

ci: re-enable pr labeler #1296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 10 commits into from
4 changes: 3 additions & 1 deletion .github/workflows/automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ jobs:

- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
repo-token: "${{ secrets.PR_LABELER_TOKEN }}"
sync-labels: true
configuration-path: .github/labeler.yml
dot: true

lint-pr-title:
runs-on: ubuntu-latest
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/foundry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ on:
pull_request:
push:
branches:
- "dev"
- main


env:
FOUNDRY_PROFILE: medium
RPC_MAINNET: ${{ secrets.RPC_MAINNET }}
RPC_HOLESKY: ${{ secrets.RPC_HOLESKY }}
CHAIN_ID: ${{ secrets.CHAIN_ID }}

jobs:
# -----------------------------------------------------------------------
Expand Down Expand Up @@ -72,6 +69,7 @@ jobs:
esac
env:
FOUNDRY_PROFILE: ${{ matrix.suite == 'Fork' && 'forktest' || 'medium' }}
RPC_MAINNET: https://billowing-capable-sound.quiknode.pro/

# -----------------------------------------------------------------------
# Forge Test (Intense)
Expand All @@ -80,8 +78,8 @@ jobs:
continuous-fuzzing:
name: Test (Intense)
runs-on: protocol-x64-16core
# Only run on push events to dev branch, not on PR events
if: github.event_name == 'push' && github.ref == 'refs/heads/dev'
# Only run on push events to main branch, not on PR events
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
strategy:
fail-fast: true
steps:
Expand Down Expand Up @@ -120,7 +118,7 @@ jobs:
echo -e "\033[1;33mWarning: This workflow may take several hours to complete.\033[0m"
echo -e "\033[1;33mThis intense fuzzing workflow is optional but helps catch edge cases through extended testing.\033[0m"
FOUNDRY_PROFILE=intense forge test -vvv

# -----------------------------------------------------------------------
# Forge Storage Diff
# -----------------------------------------------------------------------
Expand Down Expand Up @@ -164,13 +162,15 @@ jobs:
run-coverage:
name: Coverage
runs-on: protocol-x64-16core
# Only run coverage checks on dev, testnet-holesky, and mainnet branches, or PRs targeting these branches
# Only run coverage checks on main, preprod, testnet, and mainnet branches, or PRs targeting these branches
if: |
github.ref == 'refs/heads/dev' ||
github.ref == 'refs/heads/testnet-holesky' ||
github.ref == 'refs/heads/main' ||
github.ref == 'refs/heads/preprod' ||
github.ref == 'refs/heads/testnet' ||
github.ref == 'refs/heads/mainnet' ||
github.base_ref == 'dev' ||
github.base_ref == 'testnet-holesky' ||
github.base_ref == 'main' ||
github.base_ref == 'preprod' ||
github.base_ref == 'testnet' ||
github.base_ref == 'mainnet'
strategy:
fail-fast: true
Expand Down
Loading