Skip to content

Commit

Permalink
fix(ci): permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMustermann2 committed Nov 27, 2024
1 parent 3e0ec72 commit e220076
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/compare-layouts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/forge-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e220076

Please sign in to comment.