Scheduled #10
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: Scheduled | |
on: | |
schedule: [cron: "0 11 * * 6"] # 3 AM PST = 12 PM UDT, Saturdays | |
workflow_dispatch: | |
workflow_call: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
# https://github.com/bcgov/quickstart-openshift-helpers | |
schema-spy: | |
name: SchemaSpy Documentation | |
uses: bcgov/quickstart-openshift-helpers/.github/workflows/[email protected] | |
with: | |
flyway_locations: migrations/rst | |
schemaspy_schema: rst | |
flyway_schema: rst | |
# Tests are run against dev application so we need to deploy first | |
# tests: | |
# name: Tests | |
# uses: ./.github/workflows/.tests.yml | |
# with: | |
# target: test | |
# Needs deployment to dev to have something to run against | |
# Run sequentially to reduce chances of rate limiting | |
# zap_scan: | |
# runs-on: ubuntu-24.04 | |
# name: ZAP Scans | |
# env: | |
# DOMAIN: apps.silver.devops.gov.bc.ca | |
# PREFIX: ${{ github.event.repository.name }}-test | |
# steps: | |
# - name: ZAP Scan | |
# uses: zaproxy/[email protected] | |
# with: | |
# allow_issue_writing: true | |
# artifact_name: "zap_backend" | |
# cmd_options: "-a" | |
# issue_title: "ZAP: Backend" | |
# target: https://${{ env.PREFIX }}-frontend.${{ env.DOMAIN }}/api | |
# | |
# - name: ZAP Scan - Frontend | |
# uses: zaproxy/[email protected] | |
# with: | |
# allow_issue_writing: true | |
# artifact_name: "zap_frontend" | |
# cmd_options: "-a" | |
# issue_title: "ZAP: Frontend" | |
# target: https://${{ env.PREFIX }}-frontend.${{ env.DOMAIN }} |