Skip to content

Commit 7791e20

Browse files
chore: fix permissions issue
1 parent cd0c29b commit 7791e20

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/accuracy-tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
run-accuracy-tests:
1010
name: Run Accuracy Tests
1111
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
pull-requests: write
1215
if: |
1316
github.event_name == 'workflow_dispatch' ||
1417
(github.event_name == 'pull_request' && github.event.label.name == 'accuracy-tests')
@@ -26,7 +29,7 @@ jobs:
2629
- uses: actions/setup-node@v4
2730
with:
2831
node-version-file: package.json
29-
cache: 'npm'
32+
cache: "npm"
3033
- name: Install dependencies
3134
run: npm ci
3235
- name: Run accuracy tests
@@ -41,4 +44,4 @@ jobs:
4144
if: github.event_name == 'pull_request' && github.event.label.name == 'accuracy-tests'
4245
uses: marocchino/sticky-pull-request-comment@v2
4346
with:
44-
path: .accuracy/tests-summary.html
47+
path: .accuracy/tests-summary.html

0 commit comments

Comments
 (0)