2024-04-26 10:06:01 +00:00
|
|
|
name: e2e weekly cleanup
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: "0 0 * * 0" # At 00:00 every Sunday UTC
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
cleanup:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
id-token: write
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2024-11-28 16:15:26 +01:00
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
2024-04-26 10:06:01 +00:00
|
|
|
|
|
|
|
- name: Cleanup
|
|
|
|
uses: ./.github/actions/e2e_cleanup_timeframe
|
|
|
|
with:
|
|
|
|
ghToken: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }}
|
|
|
|
azure_credentials: ${{ secrets.AZURE_E2E_DESTROY_CREDENTIALS }}
|