Skip to content

Commit

Permalink
[CI] Set actions: write permission to GarbageCollectCICache github …
Browse files Browse the repository at this point in the history
…action

Also update the bash script
  • Loading branch information
uenoku committed Jun 20, 2024
1 parent 40992c0 commit 13ba02f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/garbageCollectCICache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
schedule:
- cron: 0 */4 * * *

permissions:
actions: write

jobs:
run-script:
# Clone the CIRCT repo and its submodules. Do shallow clone to save clone
Expand Down
2 changes: 1 addition & 1 deletion utils/delete-cache.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

while read -r id; do
gh cache delete $id
Expand Down

0 comments on commit 13ba02f

Please sign in to comment.