File tree Expand file tree Collapse file tree 1 file changed +6
-20
lines changed
Expand file tree Collapse file tree 1 file changed +6
-20
lines changed Original file line number Diff line number Diff line change 1313 check-usernames :
1414 runs-on : ubuntu-latest
1515 steps :
16- - name : Restore lychee cache
17- id : restore-cache
18- uses : actions/cache/restore@v5
19- with :
20- path : .lycheecache
21- key : cache-lychee-${{ github.sha }}
22- restore-keys : cache-lychee-
23-
2416 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2517 with :
2618 fetch-depth : 0
3628 continue-on-error : true
3729 with :
3830 args : >-
39- --cache
40- --verbose
41- --no-progress
31+ --verbose
32+ --no-progress
4233 --max-concurrency 25
4334 usernames.txt
4435 env :
5445 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5546
5647 - name : Update last report open issue created
57- if : ${{ env.lychee_exit_code != 0 }}
48+ if : steps.lychee.outcome == 'failure'
5849 uses : peter-evans/create-issue-from-file@fca9117c27cdc29c6c4db3b86c48e4115a786710 # v6.0.0
5950 with :
6051 title : GitHub usernames with errors
6354 labels : check usernames
6455
6556 - name : Close last report open issue
66- if : ${{ env.lychee_exit_code == 0 && steps.last-issue.outputs.has-found == 'true' }}
57+ if : ${{ steps.lychee.outcome == 'success' && steps.last-issue.outputs.has-found == 'true' }}
58+ env :
59+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6760 run : gh issue close ${{ steps.last-issue.outputs.issue-number }}
68-
69- - name : Save lychee cache
70- uses : actions/cache/save@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
71- if : always()
72- with :
73- path : .lycheecache
74- key : ${{ steps.restore-cache.outputs.cache-primary-key }}
You can’t perform that action at this time.
0 commit comments