Skip to content

Commit

Permalink
chore: update stack ttls
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrunton committed Aug 17, 2024
1 parent fd12443 commit bd63537
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/cleanup-stacks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: cleanup-stacks

on:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
Expand All @@ -19,9 +19,19 @@ jobs:
policies:
dev:
match:
name: '!production'
name: '!(staging|production)'
ttl:
hours: 6
staging:
match:
name: staging
ttl:
hours: 24
production:
match:
name: production
ttl:
hours: 24
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit bd63537

Please sign in to comment.