We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aead4e8 commit c40a6a3Copy full SHA for c40a6a3
.github/workflows/cleanup.yml
@@ -14,8 +14,8 @@ jobs:
14
- uses: actions/github-script@v7
15
with:
16
script: |
17
- const KEEP = 0;
18
- const workflowNames = ["VirusTotal Scan"];
+ const KEEP = 1;
+ const workflowNames = ["VirusTotal Scan", "Cleanup old workflow runs"];
19
20
// Get workflow ID
21
const workflows = await github.rest.actions.listRepoWorkflows({
@@ -49,11 +49,4 @@ jobs:
49
});
50
}
51
52
- - name: Delete this cleanup run
53
- run: |
54
- curl -X DELETE \
55
- -H "Accept: application/vnd.github+json" \
56
- -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
57
- https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}
58
-
59
0 commit comments