2024-04-26 06:06:01 -04: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-05-13 04:42:07 -04:00
|
|
|
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
|
2024-04-26 06:06:01 -04: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 }}
|