Repository navigation
Remove outdated auto-merge limitation from "Merging stacked pull requests" #24850
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: Triage new pull requests | ||
|
Check warning on line 1 in .github/workflows/triage-pull-requests.yml
|
||
| # Labels opened or reopened public docs pull requests for triage. | ||
| on: | ||
| # pull_request_target lets PRs from forks be triaged. | ||
| pull_request_target: | ||
| types: | ||
| - reopened | ||
| - opened | ||
| permissions: | ||
| contents: read | ||
| issues: write | ||
| pull-requests: write | ||
| jobs: | ||
| triage_pulls: | ||
| if: ${{ github.repository == 'github/docs' }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Check out repo | ||
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | ||
| - uses: ./.github/actions/node-npm-setup | ||
| - name: Label new pull requests with 'triage' | ||
| uses: ./.github/actions/labeler | ||
| with: | ||
| addLabels: 'triage' | ||