1
0
mirror of synced 2026-01-04 09:06:46 -05:00
Files
docs/.github/workflows/triage-pull-requests.yml
James M. Greene aa4c687660 Consistently use latest andymckay/labeler action for simple labeling steps in Actions workflows (#22045)
* Update andymckay/labeler to latest

* Drop use of rachmari/labeler fork since we aren't using its divergence

* Replace some other simple labeling use cases with andymckay/labeler

* Add permissions matrixes, mostly

* Remove unnecessary and basically invalid if condition

* More closely following the docs even though the workflow linter is angry

* Remove irrelevant path omissions from workflow linter

* Add exclusion for workflow linter
2021-10-08 23:24:27 -05:00

32 lines
798 B
YAML

name: Triage new pull requests
# **What it does**:
# **Why we have it**:
# **Who does it impact**:
on:
pull_request_target:
types:
- reopened
- opened
permissions:
pull-requests: write
jobs:
triage_pulls:
if: ${{ github.repository != 'github/docs-internal' }}
runs-on: ubuntu-latest
steps:
- name: Label new pull requests with 'triage'
uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90
with:
add-labels: 'triage'
- name: Triage to project board
uses: rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9
with:
action-token: ${{ secrets.GITHUB_TOKEN }}
project-url: 'https://github.com/github/docs/projects/1'
column-name: 'Triage'