|
25 | 25 | # List Workflow Runs: https://api.github.com/repos/jakoch/cpp-devbox/actions/workflows |
26 | 26 | steps: |
27 | 27 | - name: ✂ Remove cancelled or skipped workflow runs |
28 | | - uses: actions/github-script@v8 # https://github.com/actions/github-script |
| 28 | + uses: actions/github-script@v9 # https://github.com/actions/github-script |
29 | 29 | with: |
30 | 30 | github-token: ${{ secrets.GITHUB_TOKEN }} |
31 | 31 | script: | |
|
53 | 53 | } |
54 | 54 |
|
55 | 55 | - name: ✂ Remove 30 days old workflows runs |
56 | | - uses: actions/github-script@v8 # https://github.com/actions/github-script |
| 56 | + uses: actions/github-script@v9 # https://github.com/actions/github-script |
57 | 57 | with: |
58 | 58 | github-token: ${{ secrets.GITHUB_TOKEN }} |
59 | 59 | script: | |
@@ -102,7 +102,7 @@ jobs: |
102 | 102 |
|
103 | 103 | # https://api.github.com/repos/jakoch/cpp-devbox/actions/workflows/clean-workflows.yml/runs |
104 | 104 | - name: ✂ Remove runs of the cleanup workflow itself |
105 | | - uses: actions/github-script@v8 # https://github.com/actions/github-script |
| 105 | + uses: actions/github-script@v9 # https://github.com/actions/github-script |
106 | 106 | with: |
107 | 107 | github-token: ${{ secrets.GITHUB_TOKEN }} |
108 | 108 | script: | |
@@ -154,7 +154,7 @@ jobs: |
154 | 154 | } |
155 | 155 |
|
156 | 156 | - name: ✂ Remove Dependabot workflow runs |
157 | | - uses: actions/github-script@v8 # https://github.com/actions/github-script |
| 157 | + uses: actions/github-script@v9 # https://github.com/actions/github-script |
158 | 158 | with: |
159 | 159 | github-token: ${{ secrets.GITHUB_TOKEN }} |
160 | 160 | script: | |
@@ -198,7 +198,7 @@ jobs: |
198 | 198 | console.log("✅ Cleanup complete."); |
199 | 199 |
|
200 | 200 | - name: ✂ Remove pages-build-deployment workflow runs except the most recent one |
201 | | - uses: actions/github-script@v8 # https://github.com/actions/github-script |
| 201 | + uses: actions/github-script@v9 # https://github.com/actions/github-script |
202 | 202 | with: |
203 | 203 | github-token: ${{ secrets.GITHUB_TOKEN }} |
204 | 204 | script: | |
|
0 commit comments