Skip to content

[FEATURE]: Nightly clean review apps and images #1

[FEATURE]: Nightly clean review apps and images

[FEATURE]: Nightly clean review apps and images #1

name: Nightly Remove Stale Review Apps and Images
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
pull_request:
branches:
- master
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