fix(deps): update maven all non-major dependencies #2796
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/.pr-validate.yml@v0.8.3 | |
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/) | |
changelog: | |
name: Pull Request Validation | |
runs-on: ubuntu-24.04 | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
with: | |
ref: refs/heads/${{ github.head_ref }} | |
- name: Conventional Changelog Update | |
id: changelog | |
continue-on-error: true | |
uses: TriPSs/conventional-changelog-action@v5 | |
with: | |
github-token: ${{ github.token }} | |
output-file: "CHANGELOG.md" | |
skip-version-file: "true" | |
skip-commit: "true" | |
git-push: "false" | |
git-branch: refs/heads/${{ github.head_ref }} | |
- name: Checkout pr | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref }} | |
- name: Comment PR | |
continue-on-error: true | |
uses: thollander/actions-comment-pull-request@v3 | |
if: ${{ steps.changelog.outputs.skipped == 'false' }} | |
with: | |
message: | | |
# Current changelog | |
${{ steps.changelog.outputs.clean_changelog }} | |
comment_tag: "# Current changelog" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
results: | |
name: Validate Results | |
needs: [changelog, validate] | |
if: always() | |
runs-on: ubuntu-24.04 | |
steps: | |
- if: contains(needs.*.result, 'failure') | |
run: echo "At least one job has failed." && exit 1 | |
- run: echo "Success!" |