Files
FunkinMP/.github/workflows/label-pull-request-on-create.yml
HundrecandAbnormal 47e320e96f [GITHUB] Add status: pending triage to all PRs (#4035)
* Add `status: pending triage` to all PRs

* Update label-pull-request.yml

* now size and pr labels can be updated every commit!

* remove this

* move the pending triage thing to a new workflow

* Rename label-pr-on-create.yml to label-pull-request-on-create.yml

* fix the identation on this

* almost forgot to remove this

---------

Co-authored-by: Abnormal <[email protected]>
2025-01-27 13:37:27 -05:00

20 lines
526 B
YAML

name: "Pull Request Labeler 2 (Runs on PR creation)"
on:
pull_request_target:
types:
- opened
jobs:
# Apply `status: pending triage` to newly created pull requests
apply-pending-triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Apply "status pending triage" to new pull requests
uses: actions-ecosystem/action-add-labels@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
labels: "status: pending triage"