mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-02-04 06:50: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
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
issues: write
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, edited, synchronize]
|
||||
@@ -11,6 +7,10 @@ on:
|
||||
jobs:
|
||||
label-pr:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
pull-requests: write
|
||||
issues: write
|
||||
contents: read # Often needed for github-script
|
||||
steps:
|
||||
- name: Check PR body for Type of Change
|
||||
uses: actions/github-script@v7
|
||||
|
||||
Reference in New Issue
Block a user