Repository navigation
fdf50b089a53d19e65211bd98b5c3307b6aa811fAdd SLSA generic generator workflow #24370
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 | |
| # **What it does**: Adds triage label to new pull requests in the open source repository. | |
| # **Why we have it**: Update project board for new pull requests for triage. | |
| # **Who does it impact**: Docs open source. | |
| on: | |
| # Needed in lieu of `pull_request` so that PRs from a fork can 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' |