File tree Expand file tree Collapse file tree 1 file changed +16
-9
lines changed
Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Original file line number Diff line number Diff line change 55 workflow_dispatch :
66 schedule :
77 - cron : " 0 12 * * *"
8+
89jobs :
910 build :
1011 permissions :
@@ -13,23 +14,29 @@ jobs:
1314 runs-on : ubuntu-latest
1415 steps :
1516 - name : Checkout
16- uses : actions/checkout@v4
17+ uses : actions/checkout@v6
18+ with :
19+ persist-credentials : false
20+
1721 - name : Install uv
18- uses : astral-sh/setup-uv@v5
22+ uses : astral-sh/setup-uv@v7
23+
1924 - name : Install python
20- uses : actions/setup-python@v5
25+ uses : actions/setup-python@v6
2126 with :
22- python-version : " 3.13"
27+ python-version : " 3.14"
28+
2329 - name : Setup git
2430 run : |
25- git config --global user.name 'Github Actions'
26- git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
31+ git config --global user.name 'Nyako Shigure'
32+ git config --global user.email '[email protected] ' 33+
2734 - name : Run mirror
2835 run : |
2936 uv run --script mirror.py
37+
3038 - name : Push changes
3139 run : |
32- git remote set-url origin https://x-access-token:[email protected] /$GITHUB_REPOSITORY 33- git push origin HEAD:refs/heads/main --tags
40+ git push https://[email protected] /$GITHUB_REPOSITORY HEAD:refs/heads/main --tags 3441 env :
35- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
42+ GH_TOKEN : ${{ secrets.PRE_COMMIT_HOOK_AUTO_UPDATE_TOKEN }}
You can’t perform that action at this time.
0 commit comments