📓再次尝试,添加关闭issue的功能

This commit is contained in:
Qinyang Liu 2024-07-04 21:47:10 +08:00 committed by GitHub
parent e6d1ac3825
commit 06e0b3014f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 }}