Fix permissions issue.

This commit is contained in:
Benoit Marty
2026-03-16 15:34:09 +01:00
parent 3814085837
commit 0a308ec719

View File

@@ -14,6 +14,9 @@ env:
jobs:
record:
permissions:
# Need write permissions on PRs to remove the label "Record-Screenshots"
pull-requests: 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'