feat: 1610 notification for greyed out submission button #4322
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: | |
init: | |
name: Initialize | |
outputs: | |
mod-tag: ${{ steps.mod-tag.outputs.mod-tag }} | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Get PR Number Mod 50 | |
id: mod-tag | |
run: echo "mod-tag=$(( ${{ github.event.number }} % 50 ))" >> $GITHUB_OUTPUT | |
validate: | |
name: Validate PR | |
needs: [init] | |
uses: bcgov/quickstart-openshift-helpers/.github/workflows/.pr-validate.yml@v0.8.3 | |
with: | |
markdown_links: | | |
- [Frontend](https://${{ github.event.repository.name }}-${{ needs.init.outputs.mod-tag }}-frontend.apps.silver.devops.gov.bc.ca/) | |
- [Backend](https://${{ github.event.repository.name }}-${{ github.event.number }}-backend.apps.silver.devops.gov.bc.ca/swagger-ui/index.html) | |
- [Oracle-API](https://${{ github.event.repository.name }}-${{ github.event.number }}-oracle-api.apps.silver.devops.gov.bc.ca/actuator/health) | |
results: | |
name: Validate Results | |
if: always() && (!failure()) && (!cancelled()) | |
needs: [validate] | |
runs-on: ubuntu-24.04 | |
steps: | |
- run: echo "Success!" |