Make permissions block global in triage_labelled.yml

This commit is contained in:
Denis Kasak
2026-07-14 15:52:19 +02:00
parent 2e8f48c464
commit 215068374b
+3 -2
View File
@@ -4,13 +4,14 @@ on:
issues:
types: [ labeled ]
permissions:
contents: read
jobs:
move_needs_info:
runs-on: ubuntu-latest
if: >
contains(github.event.issue.labels.*.name, 'X-Needs-Info')
permissions:
contents: read
env:
# This token must have the following scopes: ["repo:public_repo", "admin:org->read:org", "user->read:user", "project"]
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}