23 lines
684 B
YAML
23 lines
684 B
YAML
name: Triage new pull requests
|
|
on:
|
|
pull_request:
|
|
types: [reopened, opened]
|
|
|
|
jobs:
|
|
triage_pulls:
|
|
if: github.repository == 'github/docs'
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Label new pull requests with 'triage'
|
|
uses: rachmari/labeler@832d42ec5523f3c6d46e8168de71cd54363e3e2e
|
|
with:
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
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"
|