diff --git a/.github/workflows/merge-demo.yml b/.github/workflows/merge-demo.yml index 2dac37ddc..c949a6bfd 100644 --- a/.github/workflows/merge-demo.yml +++ b/.github/workflows/merge-demo.yml @@ -37,7 +37,7 @@ jobs: build_file: public/Dockerfile triggers: ('public/' 'libs/') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: bcgov-nr/action-builder-ghcr@v2.0.1 with: package: ${{ matrix.package }} @@ -84,7 +84,7 @@ jobs: overwrite: true parameters: -p URL=fom-demo.apps.silver.devops.gov.bc.ca -p CERTBOT=false steps: - - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + - uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: ${{ matrix.file }} oc_namespace: ${{ vars.OC_NAMESPACE }} diff --git a/.github/workflows/merge-main.yml b/.github/workflows/merge-main.yml index a4a7cb8c4..6229d0b57 100644 --- a/.github/workflows/merge-main.yml +++ b/.github/workflows/merge-main.yml @@ -27,20 +27,20 @@ jobs: security-events: write steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: javascript # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 deploy-test: name: TEST Deploys @@ -78,7 +78,7 @@ jobs: overwrite: true parameters: -p URL=fom-test.nrs.gov.bc.ca steps: - - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + - uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: ${{ matrix.file }} oc_namespace: ${{ vars.OC_NAMESPACE }} @@ -141,7 +141,7 @@ jobs: overwrite: true parameters: -p URL=fom.nrs.gov.bc.ca steps: - - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + - uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: ${{ matrix.file }} oc_namespace: ${{ vars.OC_NAMESPACE }} diff --git a/.github/workflows/pr-close.yml b/.github/workflows/pr-close.yml index de5fd3d7b..3c2756ab2 100644 --- a/.github/workflows/pr-close.yml +++ b/.github/workflows/pr-close.yml @@ -48,7 +48,7 @@ jobs: NAME: fom ZONE: ${{ needs.setup.outputs.zone }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Remove OpenShift artifacts run: | oc login --token=${{ secrets.OC_TOKEN }} --server=${{ vars.OC_SERVER }} diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index 568b9639a..bc081cdb2 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -32,7 +32,7 @@ jobs: if: github.event.action == 'opened' || github.event.action == 'reopened' env: DOMAIN: apps.silver.devops.gov.bc.ca - uses: bcgov-nr/action-pr-description-add@v0.0.2 + uses: bcgov-nr/action-pr-description-add@v1.1.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} add_markdown: | @@ -48,7 +48,7 @@ jobs: - [Main Merge Workflow](https://github.com/${{ github.repository }}/actions/workflows/merge-main.yml) - name: OpenShift Init - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: oc_namespace: ${{ vars.OC_NAMESPACE }} oc_server: ${{ vars.OC_SERVER }} @@ -85,7 +85,7 @@ jobs: build_file: public/Dockerfile triggers: ('public/' 'libs/') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: bcgov-nr/action-builder-ghcr@v2.0.1 with: package: ${{ matrix.package }} @@ -133,7 +133,7 @@ jobs: parameters: -p CERTBOT=false -p REPLICA_COUNT=1 triggers: ('db/' 'libs/' 'api/' 'public/') steps: - - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + - uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: ${{ matrix.file }} oc_namespace: ${{ vars.OC_NAMESPACE }} diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 449a42914..a5c08ca8a 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -43,7 +43,7 @@ jobs: if: github.event_name != 'pull_request' || !github.event.pull_request.draft runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run Trivy vulnerability scanner in repo mode uses: aquasecurity/trivy-action@0.16.0 @@ -56,6 +56,6 @@ jobs: severity: "CRITICAL,HIGH" - name: Upload Trivy scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: "trivy-results.sarif"