Skip to content

T6349: updated pr-labels workflow permission #16

T6349: updated pr-labels workflow permission

T6349: updated pr-labels workflow permission #16

Workflow file for this run

---
name: Add pull request labels
on:
pull_request_target:
branches:
- current
- crux
- equuleus
- sagitta
permissions:
pull-requests: write

Check failure on line 13 in .github/workflows/add-pr-labels.yml

View workflow run for this annotation

GitHub Actions / Add pull request labels

Invalid workflow file

The workflow is not valid. .github/workflows/add-pr-labels.yml (Line: 13, Col: 3): Error calling workflow 'vyos/.github/.github/workflows/add-pr-labels.yml@feature/T6349-reusable-workflows'. The nested job 'add-pr-label' is requesting 'pull-requests: write', but is only allowed 'pull-requests: none'.
contents: read
jobs:
add-pr-label:
uses: vyos/.github/.github/workflows/add-pr-labels.yml@feature/T6349-reusable-workflows
secrets: inherit