Skip to content

Commit 963c984

Browse files
authored
Add permissions: checks: read t to flaky-tests workflow (#414)
* Add permissions: checks: read to find-flaky-tests workflow
1 parent f13e9ed commit 963c984

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/template_flaky_tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
name: Flaky-Tests
3535
runs-on: ubuntu-slim
3636
permissions:
37+
checks: read
3738
contents: read
3839
steps:
3940
- name: Find flaky tests

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,9 @@ on:
190190
jobs:
191191
flaky-tests:
192192
uses: Staffbase/gha-workflows/.github/workflows/template_flaky_tests.yml@8b3899b42a8bc3eb63645192e2c7974a80069063 # v12.0.0
193-
permissions: {}
193+
permissions:
194+
checks: read
195+
contents: read
194196
with:
195197
# identifier for the slack channel
196198
slack-channel-id: 45678787976

0 commit comments

Comments
 (0)