Skip to content

Commit

Permalink
workflow: update auto-close
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Oct 15, 2024
1 parent 070ad97 commit 0d73f29
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/issue-auto-close.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Issue Auto Close
name: Issue Auto Lock
on:
schedule:
- cron: "0 */6 * * *"
Expand All @@ -12,16 +12,14 @@ permissions:
issues: write
contents: read
jobs:
issue-close:
issue-lock:
runs-on: ubuntu-latest
steps:
- name: Set GH_REPO
run: echo "GH_REPO=${{ github.repository }}" >> $GITHUB_ENV
- name: Auto Lock Baipiao
uses: devhaozi/issue-auto-lock@v1.0.0
- name: Auto Lock Issue
uses: devhaozi/issue-auto-lock@v1
with:
gh_repo: ${{ github.repository }}
gh_token: ${{ secrets.GITHUB_TOKEN }}
issue_labels: "⭐ No Star"
issue_close_comment: 'Thank you for opening this issue. I noticed that you haven not given me a star yet, so I will close this issue. Please give me a star first and wait for it to be unlocked. Thank you for your understanding.'
issue_reopen_comment: 'Thank you for giving me a star. I have unlocked this issue. If you have any questions, please feel free to ask. Thank you for your support.'
issue_labels: "⭐ No Star"

0 comments on commit 0d73f29

Please sign in to comment.