Skip to content

Commit

Permalink
fix: set retry max age to 0
Browse files Browse the repository at this point in the history
The first deletion will reset the age to 0.

Otherwise will omit alerts to Slack.

Signed-off-by: Lars Lange <[email protected]>
  • Loading branch information
Langleu authored Oct 29, 2024
1 parent f4b64f4 commit f589127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/daily-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
with:
tf-bucket: ${{ env.TF_STATE_BUCKET }}
tf-bucket-region: ${{ env.TF_STATE_BUCKET_REGION }}
max-age-hours: ${{ env.MAX_AGE_HOURS }}
max-age-hours: 0 # the previous step alters the age and resets it to 0
target: all

- name: Notify in Slack in case of failure
Expand Down

0 comments on commit f589127

Please sign in to comment.