Fix link in README for script query tool #408
This file contains hidden or 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
| # 搭配gist_task_generator.py使用,令牌默认为GISTID,需授予gist读写权限和仓库读写权限 每日运行一次 配置请自行摸索 | |
| # 作者: Levi | |
| # 作用:生成放置在gist的脚本任务合集,方便qx、loon等快捷导入。 | |
| # name: Update Task Collection | |
| on: | |
| push: | |
| # branches: | |
| # - main | |
| workflow_dispatch: | |
| # schedule: | |
| # - cron: '0 0 * * *' # Run daily at midnight UTC | |
| jobs: | |
| update-collection: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| # - name: Set up Python | |
| # uses: actions/setup-python@v5 | |
| # with: | |
| # python-version: '3.x' | |
| # - name: Install dependencies | |
| # run: | | |
| # python -m pip install --upgrade pip | |
| # pip install requests | |
| # - name: Run task collection script | |
| # env: | |
| # GISTID: ${{ secrets.GISTID }} | |
| # run: python .github/scripts/gist_task_generator.py | |
| # - name: Commit and push if changed | |
| # run: | | |
| # git config --global user.name 'GitHub Action' | |
| # git config --global user.email 'action@github.com' | |
| # git add levitask.gallery.json | |
| # git diff --quiet && git diff --staged --quiet || (git commit -m "Update task collection" && git push) |