diff --git a/.github/workflows/automation.yml b/.github/workflows/automation.yml index b22e8edc6..11b059b57 100644 --- a/.github/workflows/automation.yml +++ b/.github/workflows/automation.yml @@ -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 diff --git a/.github/workflows/foundry.yml b/.github/workflows/foundry.yml index d5d8f430b..731dde65d 100644 --- a/.github/workflows/foundry.yml +++ b/.github/workflows/foundry.yml @@ -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: # ----------------------------------------------------------------------- @@ -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) @@ -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: @@ -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 # ----------------------------------------------------------------------- @@ -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