BAU: Bump org.sonarqube from 4.0.0.2929 to 5.1.0.4882 #43
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: Delete preview deployment | |
run-name: ${{ github.event.pull_request.title || format('Delete deployment [{0}]', github.head_ref || github.ref_name) }} | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [closed] | |
permissions: | |
id-token: write | |
contents: read | |
concurrency: deploy-development-${{ github.head_ref || github.ref_name }} | |
jobs: | |
delete-stack: | |
name: Delete stack | |
runs-on: ubuntu-latest | |
environment: development | |
steps: | |
- name: Get stack name | |
uses: govuk-one-login/github-actions/beautify-branch-name@main | |
id: get-stack-name | |
with: | |
usage: Stack name | |
prefix: preview-ipv-cri-uk-passport-api | |
length-limit: 128 | |
verbose: false | |
- name: Delete stack | |
uses: govuk-one-login/github-actions/sam/delete-stacks@main | |
with: | |
stack-names: ${{ steps.get-stack-name.outputs.pretty-branch-name }} | |
aws-role-arn: ${{ secrets.AWS_PRE_MERGE_ROLE_ARN }} | |
verbose: true |