ci: skip long-running checks on docs-only PRs via noop companion workflows #2798
Workflow file for this run
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
| name: Release Drafter | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| - release-** | |
| pull_request_target: | |
| types: [ opened, reopened, synchronize ] | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| update_release_draft: | |
| name: Run release drafter | |
| if: github.event_name != 'pull_request_target' | |
| permissions: | |
| contents: write | |
| pull-requests: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Drafts your next Release notes as Pull Requests are merged into "main" | |
| # or a release branch | |
| - uses: release-drafter/release-drafter@v7 | |
| with: | |
| commitish: ${{ github.ref_name }} | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| auto_label: | |
| name: Run autolabeler | |
| if: github.event_name == 'pull_request_target' | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: release-drafter/release-drafter/autolabeler@v7 |