📓再次尝试,添加关闭issue的功能
This commit is contained in:
parent
e6d1ac3825
commit
06e0b3014f
11
.github/workflows/deal_subscribe_issue.yml
vendored
11
.github/workflows/deal_subscribe_issue.yml
vendored
@ -36,9 +36,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Close issue
|
- name: Close issue
|
||||||
if: startsWith(github.event.issue.title, '[e-mail]')
|
if: startsWith(github.event.issue.title, '[e-mail]')
|
||||||
run: |
|
uses: actions-cool/issues-helper@v3
|
||||||
gh issue edit $NUMBER --state closed
|
with:
|
||||||
env:
|
actions: 'close-issue'
|
||||||
GH_TOKEN: ${{ secrets.PAT_TOKEN }}
|
token: ${{ secrets.PAT_TOKEN }}
|
||||||
GH_REPO: ${{ github.repository }}
|
issue-number: ${{ github.event.issue.number }}
|
||||||
NUMBER: ${{ github.event.issue.number }}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user