Bump actions/checkout from 3 to 4 #1186
Workflow file for this run
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
name: Acceptance Tests Cleanup (Broker) | |
on: | |
pull_request: | |
types: [ closed ] | |
env: | |
PR_NUMBER: "${{ github.event.pull_request.number }}" | |
DEPLOYMENT_NAME: "autoscaler-${{ github.event.pull_request.number }}" | |
BBL_STATE_PATH: "${{ github.workspace }}/bbl/bbl-state" | |
AUTOSCALER_DIR: "${{ github.workspace }}/app-autoscaler-release" | |
CI_DIR: "${{ github.workspace }}/app-autoscaler-release/ci" | |
jobs: | |
deployment_cleanup: | |
name: Cleanup deployments | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/cloudfoundry/app-autoscaler-release-tools:main | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: app-autoscaler-release | |
ref: main | |
- uses: ./app-autoscaler-release/.github/actions/setup-environment | |
with: | |
ssh-key: ${{ secrets.BBL_SSH_KEY }} | |
- run: | | |
cd ${{ env.AUTOSCALER_DIR }} | |
make deploy-cleanup |