Skip to content

Commit 3393e2a

Browse files
authored
Merge pull request #662 from swcarpentry/frog-wf-5
Add correct permissions to trigger step
2 parents 8a793cb + 8b2ae10 commit 3393e2a

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/docker_pr_receive.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,15 @@ jobs:
229229

230230
pr-checks:
231231
name: "Trigger PR Checks"
232-
needs: test-pr
232+
needs:
233+
- test-pr
234+
- build-md-source
233235
runs-on: ubuntu-latest
234236
if: ${{ needs.test-pr.outputs.is_valid == 'true' }}
237+
permissions:
238+
contents: read
239+
actions: read
240+
checks: write
235241
steps:
236242
- name: "Checkout Lesson"
237243
uses: actions/checkout@v4

0 commit comments

Comments
 (0)