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-24 05:04:23 -04:00
|
|
|
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
|
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 }}
|