Merge pull request #4092 from sashashura/patch-4

GitHub Workflows security hardening
This commit is contained in:
Terts Diepraam
2022-10-31 10:24:08 +01:00
committed by GitHub
+5
View File
@@ -6,8 +6,13 @@ on:
types:
- completed
permissions: {}
jobs:
post-comment:
permissions:
actions: read # to list workflow runs artifacts
pull-requests: write # to comment on pr
runs-on: ubuntu-latest
if: >
github.event.workflow_run.event == 'pull_request'