Skip to content

feat: job management framework #121

feat: job management framework

feat: job management framework #121

Workflow file for this run

name: PR Validate
on:
pull_request:
types: [edited, opened, synchronize, reopened, ready_for_review]
branches: [dev, test, main]
paths:
- "backend/**"
- "frontend/**"
- ".github/workflows/**"
concurrency:
group: ${{ github.workflow }}-${{ github.event.number }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: write
jobs:
validate:
name: Validate PR
if: (! github.event.pull_request.draft)
permissions:
pull-requests: write
uses: bcgov/quickstart-openshift-helpers/.github/workflows/.pr-validate.yml@d9b3d32fb3f03c4699c2dce83ddfff042cd31a1f # v1.0.0
results:
name: Validate Results
if: always()
needs: [validate]
runs-on: ubuntu-24.04
steps:
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'canceled')
run: echo "PR validation failed." && exit 1
- run: echo "PR validation passed."