зеркало из https://github.com/github/docs.git
23 строки
616 B
YAML
23 строки
616 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@v1.0.4
|
|
with:
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
add-labels: "triage"
|
|
- name: Triage to project board
|
|
uses: rachmari/actions-add-new-issue-to-column@v1.1.1
|
|
with:
|
|
action-token: ${{ secrets.GITHUB_TOKEN }}
|
|
project-url: "https://github.com/github/docs/projects/1"
|
|
column-name: "Triage"
|