diff --git a/.github/workflows/api-check.yml b/.github/workflows/api-check.yml index a5fe9664..6c8629af 100644 --- a/.github/workflows/api-check.yml +++ b/.github/workflows/api-check.yml @@ -19,7 +19,7 @@ jobs: env: OS_DOMAIN: apps.silver.devops.gov.bc.ca steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check Health on ${{ matrix.package }} environment uses: matt-ball/newman-action@master diff --git a/.github/workflows/merge-main.yml b/.github/workflows/merge-main.yml index 7c93393f..9a54fa72 100644 --- a/.github/workflows/merge-main.yml +++ b/.github/workflows/merge-main.yml @@ -26,7 +26,7 @@ jobs: continue-on-error: true steps: - name: Run tests - uses: bcgov-nr/action-test-and-analyse@v0.0.1 + uses: bcgov-nr/action-test-and-analyse@v1.1.0 with: commands: | npm ci @@ -58,7 +58,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 @@ -83,9 +83,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.0.3 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: .github/openshift/deploy.database.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -105,9 +105,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.0.3 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: .github/openshift/deploy.backend.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -136,9 +136,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.0.3 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: .github/openshift/deploy.database.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -159,9 +159,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.0.3 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: .github/openshift/deploy.backend.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} diff --git a/.github/workflows/pr-close.yml b/.github/workflows/pr-close.yml index 1ac3eda3..23c38e60 100644 --- a/.github/workflows/pr-close.yml +++ b/.github/workflows/pr-close.yml @@ -17,7 +17,7 @@ jobs: environment: name: dev steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Remove OpenShift artifacts run: | oc login --token=${{ secrets.OC_TOKEN }} --server=${{ secrets.OC_SERVER }} diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index 076fd9c2..3ed3abf8 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -16,7 +16,7 @@ jobs: contents: read pull-requests: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Pull request size and stability labels uses: actions/labeler@v4 @@ -33,13 +33,13 @@ 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 continue-on-error: true - uses: TriPSs/conventional-changelog-action@v3 + uses: TriPSs/conventional-changelog-action@v4 id: changelog with: github-token: ${{ github.token }} @@ -50,7 +50,7 @@ jobs: git-branch: refs/heads/${{ github.head_ref }} - name: Checkout pr - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.ref }} @@ -76,7 +76,7 @@ jobs: pull-requests: write steps: - name: PR Greeting - 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: | @@ -96,10 +96,10 @@ jobs: packages: write steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build Image - uses: bcgov-nr/action-builder-ghcr@v1.1.0 + uses: bcgov-nr/action-builder-ghcr@v2.0.0 with: build_context: ./backend build_file: ./backend/Dockerfile @@ -116,9 +116,9 @@ jobs: environment: dev runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Deploys - uses: bcgov-nr/action-deployer-openshift@v1.0.3 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: .github/openshift/deploy.database.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} @@ -135,10 +135,10 @@ jobs: environment: dev runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Deploys - uses: bcgov-nr/action-deployer-openshift@v1.0.3 + uses: bcgov-nr/action-deployer-openshift@v2.0.0 with: file: .github/openshift/deploy.backend.yml oc_namespace: ${{ secrets.OC_NAMESPACE }} diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index b5f899bf..bcd16bad 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Test app - uses: bcgov-nr/action-test-and-analyse@v0.0.1 + uses: bcgov-nr/action-test-and-analyse@v1.1.0 with: commands: | npm ci @@ -54,7 +54,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.9.2