CI security hardening: restrict permissions in restrict-task-creation workflow (#163051)

This commit is contained in:
Franck Nijhof
2026-02-15 11:22:25 +01:00
committed by GitHub
parent 755a3f82d4
commit 7af63460ea

View File

@@ -5,9 +5,14 @@ on:
issues:
types: [opened]
permissions: {}
jobs:
check-authorization:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
# Only run if this is a Task issue type (from the issue form)
if: github.event.issue.type.name == 'Task'
steps: