@@ -18,14 +18,10 @@ name: stale repo identifier
1818 workflow_dispatch :
1919 push :
2020 branches :
21- - main
21+ - fix-stale-repos-action
2222 schedule :
2323 - cron : " 0 1 1 * *" # Runs monthly: at 01:00 UTC on the 1st day of every month
2424
25- permissions :
26- contents : read
27- issues : write
28-
2925jobs :
3026 build :
3127 name : Stale repo identifier
@@ -38,10 +34,10 @@ jobs:
3834 contents : read
3935
4036 steps :
41- - uses : actions/checkout@v4
37+ - uses : actions/checkout@v6
4238
4339 - name : Run stale_repos tool
44- uses : github/stale-repos@v2.1 .3
40+ uses : github/stale-repos@v8.0 .3
4541 env :
4642 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4743 ORGANIZATION : SovereignCloudStack
5349 run : mv stale_repos.md stale_repos_${{ matrix.days }}.md
5450
5551 - name : Upload stale report artifact
56- uses : actions/upload-artifact@v4
52+ uses : actions/upload-artifact@v5
5753 with :
5854 name : stale_repos_report_${{ matrix.days }}
5955 path : stale_repos_${{ matrix.days }}.md
@@ -64,13 +60,14 @@ jobs:
6460 needs : build # Runs after all matrix jobs finish
6561
6662 permissions :
63+ contents : write
6764 issues : write
6865
6966 steps :
70- - uses : actions/checkout@v4
67+ - uses : actions/checkout@v6
7168
7269 - name : Download all stale report artifacts
73- uses : actions/download-artifact@v4
70+ uses : actions/download-artifact@v6
7471 with :
7572 path : stale_reports
7673
9087 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9188
9289 - name : Create or update issue
93- uses : peter-evans/create-issue-from-file@v5
90+ uses : peter-evans/create-issue-from-file@v6
9491 with :
9592 issue-number : ${{ env.issue_number }}
9693 title : Stale repository report
9794 content-filepath : ./final_stale_repos.md
98- token : ${{ secrets.GITHUB_TOKEN }}
95+ token : ${{ secrets.TOKEN_PAT }}
0 commit comments