Chore: Harden action permissions (#104820)
* harden action permissions * Update .github/workflows/ephemeral-instances-pr-comment.yml Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com> * update documentation-ci --------- Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com>
This commit is contained in:
co-authored by
Kevin Minehart
parent
9a7d85c85f
commit
d8fb1e8e4e
@@ -5,6 +5,7 @@ on:
|
||||
- labeled
|
||||
- opened
|
||||
- synchronize
|
||||
permissions: {}
|
||||
concurrency:
|
||||
group: pr-commands-${{ github.event.number }}
|
||||
jobs:
|
||||
@@ -26,6 +27,9 @@ jobs:
|
||||
|
||||
main:
|
||||
needs: config
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
if: needs.config.outputs.has-secrets
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user