diff --git a/.github/workflows/task-defnition-cleanup.yaml b/.github/workflows/task-defnition-cleanup.yaml new file mode 100644 index 0000000000..e6c1c950d6 --- /dev/null +++ b/.github/workflows/task-defnition-cleanup.yaml @@ -0,0 +1,23 @@ +name: Cleanup AWS ECS Task Definitions + +on: + schedule: + - cron: '0 0 * * 0' # weekly -- Sunday at 00:00 UTC + workflow_dispatch: + inputs: + dry_run: + description: 'Perform a dry run without deregistering task definitions' + required: true + default: false + type: boolean + +jobs: + cleanup-task-definitions: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + + - name: echo hello + run: echo hello