Skip to content

Upgrade linters and refactor how they run #3

Upgrade linters and refactor how they run

Upgrade linters and refactor how they run #3

Workflow file for this run

---
# See https://github.com/ansible/devtools/blob/main/.github/workflows/ack.yml
name: ack
on:
pull_request_target:
types: [opened, labeled, unlabeled, synchronize]
permissions:
checks: write

Check failure on line 9 in .github/workflows/ack.yml

View workflow run for this annotation

GitHub Actions / ack

Invalid workflow file

The workflow is not valid. .github/workflows/ack.yml (Line: 9, Col: 3): Error calling workflow 'ansible/team-devtools/.github/workflows/ack.yml@main'. The nested job 'ack' is requesting 'checks: write, contents: write, pull-requests: write', but is only allowed 'checks: none, contents: read, pull-requests: none'.
contents: write # needed to update release
pull-requests: write # pr approval and merge
jobs:
ack:
uses: ansible/team-devtools/.github/workflows/ack.yml@main
secrets: inherit