Fix record screenshots action permissions (#6679)
This commit is contained in:
committed by
GitHub
parent
5e8db74003
commit
90ed385745
@@ -17,6 +17,7 @@ jobs:
|
||||
permissions:
|
||||
# Need write permissions on PRs to remove the label "Record-Screenshots"
|
||||
pull-requests: write
|
||||
contents: write
|
||||
name: Record screenshots on branch ${{ github.event.pull_request.head.ref || github.ref_name }}
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'workflow_dispatch' || github.event.label.name == 'Record-Screenshots'
|
||||
|
||||
Reference in New Issue
Block a user