Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update github actions all dependencies (major) #638

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .github/workflows/merge-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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 }}

Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
triggers: ('backend/')

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: bcgov-nr/[email protected]
name: Build (${{ matrix.package }})
Expand All @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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
Expand All @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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/[email protected]
Expand Down
Loading