1616name : stale repo identifier
1717" on " :
1818 workflow_dispatch :
19- push :
19+ pull_request_target :
2020 branches :
2121 - main
22+ - fix-stale-repos-action
2223 schedule :
2324 - cron : " 0 1 1 * *" # Runs monthly: at 01:00 UTC on the 1st day of every month
2425
25- permissions :
26- contents : read
27- issues : write
28-
2926jobs :
3027 build :
3128 name : Stale repo identifier
@@ -38,10 +35,10 @@ jobs:
3835 contents : read
3936
4037 steps :
41- - uses : actions/checkout@v4
38+ - uses : actions/checkout@v6
4239
4340 - name : Run stale_repos tool
44- uses : github/stale-repos@v2.1 .3
41+ uses : github/stale-repos@v8.0 .3
4542 env :
4643 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4744 ORGANIZATION : SovereignCloudStack
5350 run : mv stale_repos.md stale_repos_${{ matrix.days }}.md
5451
5552 - name : Upload stale report artifact
56- uses : actions/upload-artifact@v4
53+ uses : actions/upload-artifact@v5
5754 with :
5855 name : stale_repos_report_${{ matrix.days }}
5956 path : stale_repos_${{ matrix.days }}.md
@@ -64,13 +61,14 @@ jobs:
6461 needs : build # Runs after all matrix jobs finish
6562
6663 permissions :
64+ contents : write
6765 issues : write
6866
6967 steps :
70- - uses : actions/checkout@v4
68+ - uses : actions/checkout@v6
7169
7270 - name : Download all stale report artifacts
73- uses : actions/download-artifact@v4
71+ uses : actions/download-artifact@v6
7472 with :
7573 path : stale_reports
7674
9088 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9189
9290 - name : Create or update issue
93- uses : peter-evans/create-issue-from-file@v5
91+ uses : peter-evans/create-issue-from-file@v6
9492 with :
9593 issue-number : ${{ env.issue_number }}
9694 title : Stale repository report
0 commit comments