This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
chore(deps): lock file maintenance #1752
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: PR Validate | |
on: | |
pull_request: | |
types: [edited, opened, synchronize, reopened, ready_for_review] | |
concurrency: | |
group: ${{ github.workflow }}-edit-${{ github.event.number }} | |
cancel-in-progress: true | |
jobs: | |
validate: | |
name: Validate PR | |
if: (! github.event.pull_request.draft) | |
uses: bcgov/quickstart-openshift-helpers/.github/workflows/.pr-validate.yml@v0.6.1 | |
with: | |
markdown_links: | | |
- [Frontend](https://${{ github.event.repository.name }}-${{ github.event.number }}-frontend.apps.silver.devops.gov.bc.ca) | |
- [Backend](https://${{ github.event.repository.name }}-${{ github.event.number }}-backend.apps.silver.devops.gov.bc.ca/api/health) | |
labeler: | |
permissions: | |
contents: read | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/labeler@v5 | |
results: | |
name: Validate Results | |
if: always() | |
needs: [validate, labeler] | |
runs-on: ubuntu-22.04 | |
steps: | |
- run: | | |
# View results | |
echo "needs.*.result: ${{ toJson(needs.*.result) }}" | |
- if: contains(needs.*.result, 'failure') | |
run: | | |
# Job failure found | |
echo "At least one job has failed" | |
exit 1 |