File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ jobs:
1010 linkChecker :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v4
13+ - uses : actions/checkout@v5
1414
1515 - name : Build site
16- uses : withastro/action@v3
16+ uses : withastro/action@v4
1717 with :
1818 package-manager : pnpm@latest
1919
Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ jobs:
2121 version : latest
2222
2323 - name : Setup Node.js
24- uses : actions/setup-node@v4
24+ uses : actions/setup-node@v6
2525 with :
2626 node-version : 20
2727 cache : ' pnpm'
2828
2929 - name : Clone repository
30- uses : actions/checkout@v4
30+ uses : actions/checkout@v5
3131 with :
3232 fetch-depth : 0
3333 ref : ${{github.event.pull_request.head.ref}}
3737 run : git checkout ${{github.event.pull_request.base.ref}}
3838
3939 - name : Build site (base branch)
40- uses : withastro/action@v3
40+ uses : withastro/action@v4
4141 with :
4242 package-manager : pnpm@latest
4343
6363 run : git stash pop || true
6464
6565 - name : Build site (feature branch)
66- uses : withastro/action@v3
66+ uses : withastro/action@v4
6767 with :
6868 package-manager : pnpm@latest
6969
9191
9292 - name : Create PR comment on failure
9393 if : steps.lychee.exit_code != 0
94- uses : actions/github-script@v7
94+ uses : actions/github-script@v8
9595 with :
9696 script : |
9797 const fs = require('fs');
Original file line number Diff line number Diff line change 1717 runs-on : ubuntu-latest
1818 steps :
1919 - name : Checkout your repository using git
20- uses : actions/checkout@v4
20+ uses : actions/checkout@v5
2121 - name : Install, build, and upload your site
22- uses : withastro/action@v3
22+ uses : withastro/action@v4
2323 with :
2424 package-manager : pnpm@latest
2525
Original file line number Diff line number Diff line change 1616 check-links :
1717 runs-on : ubuntu-latest
1818 steps :
19- - uses : actions/checkout@v4
19+ - uses : actions/checkout@v5
2020 - uses : lycheeverse/lychee-action@v2
2121 - name : Comment Broken Links
2222 uses : marocchino/sticky-pull-request-comment@v2
Original file line number Diff line number Diff line change 3232 restore-keys : cache-lychee-
3333
3434 # check URLs with Lychee
35- - uses : actions/checkout@v4
35+ - uses : actions/checkout@v5
3636
3737 - name : Lychee URL checker
3838 uses : lycheeverse/lychee-action@v2
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Manual trigger via workflow_dispatch
1111Repository dispatch events
1212Automated schedule (runs daily at 18:00 UTC)
1313The workflow executes the following steps:
14- Checks out the repository using actions/checkout@v4
14+ Checks out the repository using actions/checkout@v5
1515Runs the Lychee link checker (lycheeverse/lychee-action@v2) with fail: false to prevent workflow failure
1616If any broken links are detected (exit code != 0), creates a new GitHub issue using peter-evans/create-issue-from-file@v5
1717The issue contains the detailed report from ./lychee/out.md
Original file line number Diff line number Diff line change 9090 check-links :
9191 runs-on : ubuntu-latest
9292 steps :
93- - uses : actions/checkout@v4
93+ - uses : actions/checkout@v5
9494 - uses : lycheeverse/lychee-action@v2
9595 with :
9696 args : >-
You can’t perform that action at this time.
0 commit comments