mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-05-25 16:41:05 +00:00
[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 <86753001+AbnormalPoof@users.noreply.github.com>
This commit is contained in:
parent
0c06ba942e
commit
47e320e96f
19
.github/workflows/label-pull-request-on-create.yml
vendored
Normal file
19
.github/workflows/label-pull-request-on-create.yml
vendored
Normal file
|
@ -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"
|
Loading…
Reference in a new issue