Repository navigation
ci: Avoid cancelling release-drafter ack jobs when PRs are opened #208
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | ||
|
Check warning on line 1 in .github/workflows/ack.yml
|
||
| # See https://github.com/ansible/team-devtools/blob/main/.github/workflows/ack.yml | ||
| name: ack | ||
| on: | ||
| merge_group: | ||
| pull_request_target: | ||
| types: [opened, labeled, unlabeled, synchronize] | ||
| permissions: {} | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
| cancel-in-progress: false | ||
| jobs: | ||
| ack: | ||
| name: Acknowledge pull request | ||
| # Permissions come from the called workflow; a caller cannot grant less. | ||
| permissions: | ||
| checks: write # required to report the label check | ||
| contents: write # required to update the draft release | ||
| pull-requests: write # required to comment, approve, and merge | ||
| uses: ansible/team-devtools/.github/workflows/ack.yml@e7604b7f0f487584a2264c09a0df1524fe2be49e # v26.4.0 | ||
| secrets: inherit | ||