chore(deps): update all non-major dependencies #3463
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] | |
concurrency: | |
group: ${{ github.workflow }}-edit-${{ github.event.number }} | |
cancel-in-progress: true | |
jobs: | |
vars: | |
name: Variables | |
runs-on: ubuntu-24.04 | |
outputs: | |
url: ${{ steps.calculate.outputs.url }} | |
steps: | |
- name: Calculate the deployment number | |
id: calculate | |
run: echo "url=$((${{ github.event.number }} % 50))" >> $GITHUB_OUTPUT | |
validate: | |
name: Validate PR | |
needs: [vars] | |
uses: bcgov/quickstart-openshift-helpers/.github/workflows/[email protected] | |
with: | |
markdown_links: | | |
Any successful deployments (not always required) will be available [here](https://${{ github.event.repository.name }}-${{ needs.vars.outputs.url }}-frontend.apps.silver.devops.gov.bc.ca/) | |
results: | |
name: Validate Results | |
needs: [validate] | |
if: always() | |
runs-on: ubuntu-24.04 | |
steps: | |
- if: contains(needs.*.result, 'failure')||contains(needs.*.result, 'canceled') | |
run: echo "At least one job has failed." && exit 1 | |
- run: echo "Success!" |