diff --git a/.github/workflows/compare-layouts.yml b/.github/workflows/compare-layouts.yml index 10f6f483..84b1d5f1 100644 --- a/.github/workflows/compare-layouts.yml +++ b/.github/workflows/compare-layouts.yml @@ -6,6 +6,11 @@ on: types: - completed +permissions: + contents: read + statuses: write + pull-requests: write + jobs: # Do this job first so that the commit status is updated to pending ASAP. set-commit-status: @@ -41,13 +46,6 @@ jobs: needs: setup runs-on: ubuntu-latest - permissions: - contents: read - # to mark the commit with the status - statuses: write - # since status-comment.yml does not support this, we comment things manually - pull-requests: write - env: ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }} ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }} diff --git a/.github/workflows/forge-ci.yml b/.github/workflows/forge-ci.yml index 388d09d9..6d7d38ac 100644 --- a/.github/workflows/forge-ci.yml +++ b/.github/workflows/forge-ci.yml @@ -106,7 +106,7 @@ jobs: - name: Check formatting run: forge fmt --check - extract-storage-layout: + extract-storage-layouts: runs-on: ubuntu-latest needs: build steps: