clean #522
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Erase old versions | |
on: | |
push: | |
tags: | |
- clean_* | |
repository_dispatch: | |
types: [clean] | |
jobs: | |
do_clean: | |
name: Remove old versions | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
contents: read | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Remove old untagged and dev_* versions | |
run: | | |
cd tools | |
python3 garbage_collector.py ${{ secrets.PKG_TOKEN }} |