Fix record screenshots action permissions (#6679)

This commit is contained in:
Jorge Martin Espinosa
2026-04-28 13:17:57 +02:00
committed by GitHub
parent 5e8db74003
commit 90ed385745
+1
View File
@@ -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'