ci: move cleaning scripts to .github/actions/ghcr-clean
This commit is contained in:
0
.github/workflows/maintenance/delete_ghcr_dangling_images.sh → .github/actions/ghcr-clean/delete_ghcr_dangling_images.sh
vendored
Executable file → Normal file
0
.github/workflows/maintenance/delete_ghcr_dangling_images.sh → .github/actions/ghcr-clean/delete_ghcr_dangling_images.sh
vendored
Executable file → Normal file
0
.github/workflows/maintenance/delete_workflows.sh → .github/actions/ghcr-clean/delete_workflows.sh
vendored
Executable file → Normal file
0
.github/workflows/maintenance/delete_workflows.sh → .github/actions/ghcr-clean/delete_workflows.sh
vendored
Executable file → Normal file
2
.github/workflows/clean.yml
vendored
2
.github/workflows/clean.yml
vendored
@@ -16,6 +16,6 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
- name: Run script
|
||||
run: ./delete_ghcr_dangling_images.sh lowlighter metrics
|
||||
working-directory: .github/workflows/maintenance
|
||||
working-directory: .github/actions/ghcr-clean
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GHCR_BOT_TOKEN }}
|
||||
|
||||
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
@@ -43,6 +43,6 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
- name: Run script
|
||||
run: ./delete_workflows.sh lowlighter/metrics
|
||||
working-directory: .github/workflows/maintenance
|
||||
working-directory: .github/actions/ghcr-clean
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
Reference in New Issue
Block a user