From 5dc8e9972168bf4c92f2928840e73c3a3c3550c1 Mon Sep 17 00:00:00 2001 From: Allex Date: Mon, 29 Jul 2024 09:36:53 +0200 Subject: [PATCH] chore: Delete clean_examples.yaml Storage of these test packages is no issue (yet) and cleanup causes potential permissions issues when run locally after cleanup. --- .github/workflows/clean_examples.yaml | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 .github/workflows/clean_examples.yaml diff --git a/.github/workflows/clean_examples.yaml b/.github/workflows/clean_examples.yaml deleted file mode 100644 index 539a6da..0000000 --- a/.github/workflows/clean_examples.yaml +++ /dev/null @@ -1,24 +0,0 @@ -name: Cleanup - -on: - workflow_dispatch: - schedule: - # Run every Sunday at midnight - - cron: '0 0 * * 0' - -permissions: - packages: write - -jobs: - remove-hello-world: - name: Remove hello_world - runs-on: ubuntu-latest - timeout-minutes: 2 - - steps: - - run: >- - curl -L -X DELETE - -H "Accept: application/vnd.github+json" - -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" - -H "X-GitHub-Api-Version: 2022-11-28" - https://api.github.com/users/allexveldman/packages/container/hello_world