Merge pull request #6355 from element-hq/feature/bma/fixRemovingLabel

Fix permissions issue.
This commit is contained in:
Benoit Marty
2026-03-16 15:59:46 +01:00
committed by GitHub

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'