Repository navigation
chore(ci): remove prod deployment and promotion jobs #464
Workflow file for this run
This file contains hidden or 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: PR Closed | |
| on: | |
| pull_request: | |
| branches: [main] | |
| types: [closed] | |
| concurrency: | |
| # PR open and close use the same group, allowing only one at a time | |
| group: pr-${{ github.workflow }}-${{ github.event.number }} | |
| cancel-in-progress: true | |
| permissions: {} | |
| jobs: | |
| cleanup: | |
| name: Cleanup OpenShift and Promote Images | |
| permissions: | |
| packages: write # Required for promoting images during PR cleanup | |
| contents: read # Required for repository access | |
| uses: bcgov/actions-openshift/.github/workflows/.pr-close.yml@ea9651011c0bf9d15aad22cf5aa2fae93c096edf # v0.3.2 | |
| secrets: | |
| oc_namespace: ${{ vars.OC_NAMESPACE }} | |
| oc_token: ${{ secrets.OC_TOKEN }} | |
| with: | |
| cleanup: label | |
| packages: backend-java backend-py migrations-py |