Skip to content

T6349: updated pr-labels workflow permission #12

T6349: updated pr-labels workflow permission

T6349: updated pr-labels workflow permission #12

name: Check for unused imports using Pylint
on:
pull_request_target:
branches:
- current
- sagitta
workflow_dispatch:
permissions:

Check failure on line 9 in .github/workflows/check-unused-imports.yml

View workflow run for this annotation

GitHub Actions / Check for unused imports using Pylint

Invalid workflow file

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