Skip to content

Commit 06ded1a

Browse files
committed
ci: set permissions for Forge in smart contract test workflow
1 parent 3ee774f commit 06ded1a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/sharing-smart-contract-test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ concurrency:
1111
group: ${{ github.ref }}-sharing-smart-contract-tests
1212
cancel-in-progress: true
1313

14+
permissions:
15+
contents: write
16+
1417
jobs:
1518
build-and-test:
1619
runs-on: ubuntu-latest
@@ -90,6 +93,10 @@ jobs:
9093
working-directory: packages/sharing-smart-contract
9194
run: npm run upgrade-local-fork -- --network local-bellecour-fork
9295

96+
- name: Set permissions for Forge
97+
working-directory: packages/sharing-smart-contract
98+
run: chmod -R 755 .
99+
93100
- name: Forge Tests
94101
working-directory: packages/sharing-smart-contract
95102
run: forge test --no-match-test "invariant" -vvvv

0 commit comments

Comments
 (0)