Debian Codegraph @

ansible_collections/kubernetes/core/.github/workflows/label-new-prs.yaml

raw symbols SCIP
1 ---
2 name: label new prs
3 on:
4 pull_request_target:
5 types:
6 - opened
7 - reopened
8 - converted_to_draft
9 - ready_for_review
10
11 jobs:
12 add_label:
13 if: github.actor != 'patchback[bot]'
14 runs-on: ubuntu-latest
15 permissions:
16 pull-requests: write
17 steps:
18 - name: Add 'needs_triage' label if the pr is not a draft
19 uses: actions-ecosystem/action-add-labels@v1
20 if: github.event.pull_request.draft == false
21 with:
22 labels: needs_triage
23
24 - name: Remove 'needs_triage' label if the pr is a draft
25 uses: actions-ecosystem/action-remove-labels@v1
26 if: github.event.pull_request.draft == true
27 with:
28 labels: needs_triage