Skip to content

Commit

Permalink
[GITHUB] Add status: pending triage to all PRs (#4035)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
Hundrec and AbnormalPoof authored Jan 27, 2025
1 parent 0c06ba9 commit 47e320e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/label-pull-request-on-create.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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"

0 comments on commit 47e320e

Please sign in to comment.