diff --git a/.github/workflows/merge-main.yml b/.github/workflows/merge-main.yml index f50541ed7f..3ec6983b23 100644 --- a/.github/workflows/merge-main.yml +++ b/.github/workflows/merge-main.yml @@ -108,7 +108,7 @@ jobs: security-events: write steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize uses: github/codeql-action/init@v2 @@ -155,9 +155,9 @@ jobs: environment: test runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Deploys - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: common/openshift.init.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -189,7 +189,7 @@ jobs: -p COGNITO_LOGOUT_URI=https://${{ env.PREFIX }}-frontend.${{ env.DOMAIN }} - name: Conventional Changelog Update - uses: TriPSs/conventional-changelog-action@v3 + uses: TriPSs/conventional-changelog-action@v4 id: changelog continue-on-error: true with: @@ -221,10 +221,10 @@ jobs: environment: test runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Deploy Database - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: database/openshift.deploy.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -237,7 +237,7 @@ jobs: -p PROMOTE=${{ github.repository }}/database:${{ env.ZONE }} - name: Deploy Backend - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: backend/openshift.deploy.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -257,7 +257,7 @@ jobs: -p URL_ZONE=${{ env.ZONE }} - name: Deploy Legacy - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: legacy/openshift.deploy.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -272,7 +272,7 @@ jobs: -p URL_ZONE=${{ env.ZONE }} - name: Deploy Frontend - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: frontend/openshift.deploy.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -288,7 +288,7 @@ jobs: -p URL_ZONE=${{ env.ZONE }} - name: Deploy Processor - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: processor/openshift.deploy.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -330,9 +330,9 @@ jobs: environment: prod runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Deploys - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: common/openshift.init.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -374,10 +374,10 @@ jobs: environment: prod runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Deploy Database - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: database/openshift.deploy.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -390,7 +390,7 @@ jobs: -p PROMOTE=${{ github.repository }}/database:${{ env.PREV }} - name: Deploy Backend - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: backend/openshift.deploy.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -410,7 +410,7 @@ jobs: -p URL_ZONE=${{ env.ZONE }} - name: Deploy Legacy - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: legacy/openshift.deploy.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -425,7 +425,7 @@ jobs: -p URL_ZONE=${{ env.ZONE }} - name: Deploy Frontend - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: frontend/openshift.deploy.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -441,7 +441,7 @@ jobs: -p URL_ZONE=${{ env.ZONE }} - name: Deploy Processor - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: processor/openshift.deploy.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index fed57cf9a9..597bd33824 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -24,7 +24,7 @@ jobs: run: | echo "url_zone=$((${{ github.event.number }} % 50))" >> $GITHUB_OUTPUT - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Pull request size and stability labels uses: actions/labeler@v4 @@ -41,14 +41,14 @@ jobs: type_labels: '{"feat": "feature", "fix": "fix", "bug": "fix", "doc": "documentation", "ci": "ci", "chore": "chore", "breaking": "breaking", "BREAKING CHANGE": "breaking"}' - name: Checkout branch - uses: actions/checkout@v3 + 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@v3 + uses: TriPSs/conventional-changelog-action@v4 with: github-token: ${{ github.token }} output-file: "CHANGELOG.md" @@ -58,7 +58,7 @@ jobs: git-branch: refs/heads/${{ github.head_ref }} - name: Checkout pr - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.ref }} @@ -126,7 +126,7 @@ jobs: triggers: ('backend/') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: bcgov-nr/action-builder-ghcr@v2.0.0 name: Build (${{ matrix.package }}) @@ -150,9 +150,9 @@ jobs: ZONE: dev runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Initializing Deployment - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: common/openshift.init.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -184,7 +184,7 @@ jobs: -p COGNITO_LOGOUT_URI=https://${{ env.PREFIX }}-frontend.${{ env.DOMAIN }} - name: Deploy Database - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: database/openshift.deploy.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -196,7 +196,7 @@ jobs: -p PROMOTE=${{ github.repository }}/database:${{ github.event.number }} - name: Deploy Backend - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: backend/openshift.deploy.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -215,7 +215,7 @@ jobs: -p URL_ZONE=$((${{ github.event.number }} % 50)) - name: Deploy Legacy - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: legacy/openshift.deploy.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -229,7 +229,7 @@ jobs: -p URL_ZONE=$((${{ github.event.number }} % 50)) - name: Deploy Frontend - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: frontend/openshift.deploy.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -244,7 +244,7 @@ jobs: -p GREEN_DOMAIN=${{ secrets.GREEN_DOMAIN }} - name: Deploy Processor - uses: bcgov-nr/action-deployer-openshift@v1.4.0 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: processor/openshift.deploy.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -270,9 +270,9 @@ jobs: PREFIX: ${{ github.event.repository.name }}-${{ needs.pr-validation.outputs.url_zone }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 name: Start node with: node-version: 18 @@ -286,7 +286,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish Cypress Results - uses: mikepenz/action-junit-report@v3 + uses: mikepenz/action-junit-report@v4 continue-on-error: true if: always() with: diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 95ad7090ad..d8af642fc6 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -96,7 +96,7 @@ jobs: path: (backend|legacy|processor)/**/checkstyle-result.xml - name: Publish Test Report - uses: mikepenz/action-junit-report@v3 + uses: mikepenz/action-junit-report@v4 continue-on-error: true if: success() || failure() # always run even if the previous step fails with: @@ -172,7 +172,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run Trivy vulnerability scanner in repo mode uses: aquasecurity/trivy-action@0.14.0