chore: fix pr auto labeling
This commit is contained in:
parent
ea6af7f9a4
commit
c35ba68119
@ -1,23 +1,18 @@
|
|||||||
name: "Auto Label Conventional Commits"
|
name: "Auto Label Conventional Commits"
|
||||||
on:
|
on:
|
||||||
issues:
|
|
||||||
types:
|
|
||||||
- reopened
|
|
||||||
- opened
|
|
||||||
pull_request:
|
pull_request:
|
||||||
types:
|
types:
|
||||||
- reopened
|
- reopened
|
||||||
- opened
|
- opened
|
||||||
jobs:
|
jobs:
|
||||||
label_issues:
|
label_prs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Label issues
|
- name: Label PRs
|
||||||
run: |
|
run: |
|
||||||
ISSUE_TITLE=$(gh issue view ${{ github.event.number }} --json title -q ".title")
|
ISSUE_TITLE=$(gh issue view ${{ github.event.number }} --json title -q ".title")
|
||||||
case "$ISSUE_TITLE" in
|
case "$ISSUE_TITLE" in
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user