feat: 文件远程下载 #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Issue Auto Lock | |
on: | |
schedule: | |
- cron: "0 */6 * * *" | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
issues: | |
types: [ opened ] | |
permissions: | |
issues: write | |
contents: read | |
jobs: | |
issue-lock: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set GH_REPO | |
run: echo "GH_REPO=${{ github.repository }}" >> $GITHUB_ENV | |
- name: Auto Lock Issue | |
uses: devhaozi/issue-auto-lock@v1 | |
with: | |
gh_repo: ${{ github.repository }} | |
gh_token: ${{ secrets.GITHUB_TOKEN }} | |
issue_labels: "⭐ No Star" |