mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-02-04 15:00:09 +00:00
update label pr
This commit is contained in:
8
.github/workflows/label-pr.yaml
vendored
8
.github/workflows/label-pr.yaml
vendored
@@ -1,9 +1,5 @@
|
|||||||
name: Label PRs by Type of Change
|
name: Label PRs by Type of Change
|
||||||
|
|
||||||
permissions:
|
|
||||||
pull-requests: write
|
|
||||||
issues: write
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, edited, synchronize]
|
types: [opened, edited, synchronize]
|
||||||
@@ -11,6 +7,10 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
label-pr:
|
label-pr:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
issues: write
|
||||||
|
contents: read # Often needed for github-script
|
||||||
steps:
|
steps:
|
||||||
- name: Check PR body for Type of Change
|
- name: Check PR body for Type of Change
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v7
|
||||||
|
|||||||
Reference in New Issue
Block a user