📓再次尝试,添加关闭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
|
||||
if: startsWith(github.event.issue.title, '[e-mail]')
|
||||
run: |
|
||||
gh issue edit $NUMBER --state closed
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.PAT_TOKEN }}
|
||||
GH_REPO: ${{ github.repository }}
|
||||
NUMBER: ${{ github.event.issue.number }}
|
||||
uses: actions-cool/issues-helper@v3
|
||||
with:
|
||||
actions: 'close-issue'
|
||||
token: ${{ secrets.PAT_TOKEN }}
|
||||
issue-number: ${{ github.event.issue.number }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user