From 3dbd8b8fd5550ef95a2c11651fdb73d11cd74ee6 Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Mon, 5 Sep 2022 15:33:18 -0400 Subject: [PATCH] ci: move cleaning scripts to `.github/actions/ghcr-clean` --- .../ghcr-clean}/delete_ghcr_dangling_images.sh | 0 .../maintenance => actions/ghcr-clean}/delete_workflows.sh | 0 .github/workflows/clean.yml | 2 +- .github/workflows/stale.yml | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename .github/{workflows/maintenance => actions/ghcr-clean}/delete_ghcr_dangling_images.sh (100%) mode change 100755 => 100644 rename .github/{workflows/maintenance => actions/ghcr-clean}/delete_workflows.sh (100%) mode change 100755 => 100644 diff --git a/.github/workflows/maintenance/delete_ghcr_dangling_images.sh b/.github/actions/ghcr-clean/delete_ghcr_dangling_images.sh old mode 100755 new mode 100644 similarity index 100% rename from .github/workflows/maintenance/delete_ghcr_dangling_images.sh rename to .github/actions/ghcr-clean/delete_ghcr_dangling_images.sh diff --git a/.github/workflows/maintenance/delete_workflows.sh b/.github/actions/ghcr-clean/delete_workflows.sh old mode 100755 new mode 100644 similarity index 100% rename from .github/workflows/maintenance/delete_workflows.sh rename to .github/actions/ghcr-clean/delete_workflows.sh diff --git a/.github/workflows/clean.yml b/.github/workflows/clean.yml index b166b03e..53bb3df9 100644 --- a/.github/workflows/clean.yml +++ b/.github/workflows/clean.yml @@ -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 }} diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 58dadeda..9e937f73 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -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 }} \ No newline at end of file