Skip to content

feat(ci)!: deploymentconfig deprecation #173

feat(ci)!: deploymentconfig deprecation

feat(ci)!: deploymentconfig deprecation #173

Workflow file for this run

name: Pull Request Close
on:
pull_request:
types: [closed]
concurrency:
# PR open and close use the same group, allowing only one at a time
group: ${{ github.event.number }}
cancel-in-progress: true
jobs:
cleanup:
name: Cleanup and Images
uses: bcgov/quickstart-openshift-helpers/.github/workflows/.pr-close.yml@main
secrets:
environment: dev

Check failure on line 17 in .github/workflows/pr-close.yml

View workflow run for this annotation

GitHub Actions / Pull Request Close

Invalid workflow file

The workflow is not valid. .github/workflows/pr-close.yml (Line: 17, Col: 20): Invalid secret, environment is not defined in the referenced workflow.
oc_namespace: ${{ secrets.OC_NAMESPACE }}
oc_token: ${{ secrets.OC_TOKEN }}
with:
cleanup: label
packages: api
merge-notification:
name: Merge Notification
runs-on: ubuntu-24.04
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'
steps:
- name: Pre-merge update
uses: mshick/add-pr-comment@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
allow-repeats: false
message: |
Your Pull Request code is being promoted! Please follow the link below.
[Main Merge Workflow](https://github.com/${{ github.repository }}/actions/workflows/merge-main.yml)