Skip to content

Commit 65f7197

Browse files
committed
fix: actions worklfow
1 parent 88c8e2a commit 65f7197

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [main, master]
66
pull_request:
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
build:
1013
runs-on: ubuntu-latest
@@ -21,6 +24,8 @@ jobs:
2124
- name: Install dependencies
2225
run: yarn install --immutable
2326
- name: Install compact toolchain
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2429
run: |
2530
set -euo pipefail
2631
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/midnightntwrk/compact/releases/latest/download/compact-installer.sh | sh
@@ -41,4 +46,4 @@ jobs:
4146
echo "compact output not found; listing managed tree for debugging:"
4247
find packages/contract/src/managed -maxdepth 5 -type f
4348
exit 1
44-
fi
49+
fi

0 commit comments

Comments
 (0)