Skip to content

Commit

Permalink
feat: nightly github action to remove stale apps and images
Browse files Browse the repository at this point in the history
  • Loading branch information
rameziophobia committed Aug 26, 2024
1 parent cbb9400 commit 6069e93
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/nightly-remove-stale-review-apps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Nightly Remove Stale Review Apps and Images

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

jobs:
remove-stale-review-apps:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Environment
uses: ./.github/actions/setup-environment

- name: Run cleanup-stale-apps script
run: |
cpflow cleanup-stale-apps -a qa-react-webpack-rails-tutorial -y
- name: Run cleanup-images script
run: |
cpflow cleanup-images -a qa-react-webpack-rails-tutorial -y

0 comments on commit 6069e93

Please sign in to comment.