-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: nightly github action to remove stale apps and images
- Loading branch information
1 parent
cbb9400
commit 6069e93
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |