Skip to content

Commit

Permalink
make sure to add a github token so the script can delete old releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Silverman committed Nov 13, 2024
1 parent a9e3a97 commit 8437715
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/push_to_ejam.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ jobs:
# keep storage low
- name: Delete Older Releases (Keep Last 3)
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Get the list of all release tags sorted by date (excluding the latest 3)
old_releases=$(gh release list --limit 100 --json tagName -q '.[3:].tagName')
Expand Down

0 comments on commit 8437715

Please sign in to comment.