Skip to content

Commit

Permalink
Merge pull request #474 from intersective/fix/upgrade-ci-workflow-ver…
Browse files Browse the repository at this point in the history
…sions-prerelease

fix: prerelease update ci workflow versions actions
  • Loading branch information
shawnm0705 authored Sep 5, 2024
2 parents 13f0324 + d9ee196 commit cb1c72f
Show file tree
Hide file tree
Showing 17 changed files with 64 additions and 64 deletions.
2 changes: 1 addition & 1 deletion .github/actions/aws-oidc/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ runs:
using: "composite" # required for multiple AWS iam role assume else will return error
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ inputs.region }}
role-to-assume: ${{ inputs.role-to-assume }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
# GITHUB REPO CHECKOUT
################################################
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
ref: ${{ github.event.inputs.RELEASE_BRANCH }}
Expand All @@ -65,7 +65,7 @@ jobs:
# AWS CLI CONFIGURATION - DEVOPS
################################################
- name: Configure AWS credentials from $STACK_NAME account
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.DEVOPS_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.DEVOPS_AWS_SECRET_ACCESS_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot.yml.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
# AWS CLI CONFIGURATION - DEVOPS
################################################
- name: Configure AWS credentials from $STACK_NAME account in $REGION region
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.DEVOPS_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.DEVOPS_AWS_SECRET_ACCESS_KEY }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/p1-au.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
# GITHUB REPO CHECKOUT
################################################
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
ref: ${{ github.event.inputs.BRANCH_TAG_NAME }}
Expand All @@ -65,16 +65,16 @@ jobs:
# NODE ENV
################################################
- name: Setup Node.js environment
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '14'
node-version: 18


################################################
# NODE MODULES CACHE
################################################
- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
id: cache-node-modules
env:
cache-name: cache
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
# AWS CLI CONFIGURATION - DEVOPS
################################################
- name: Configure AWS credentials from $STACK_NAME account in $REGION region
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.DEVOPS_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.DEVOPS_AWS_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
# AWS P1 AU ACCOUNT STEPS BELOW
##########################################################
- name: Configure AWS credentials from $STACK_NAME account in $REGION region
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ steps.DeploySecret.outputs.P1_PROD_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ steps.DeploySecret.outputs.P1_PROD_AWS_SECRET_ACCESS_KEY }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/p1-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
# GITHUB REPO CHECKOUT
################################################
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

Expand All @@ -59,16 +59,16 @@ jobs:
# NODE ENV
################################################
- name: Setup Node.js environment
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '14'
node-version: 18


################################################
# NODE MODULES CACHE
################################################
- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
id: cache-node-modules
env:
cache-name: cache
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
# AWS CLI CONFIGURATION - DEVOPS
################################################
- name: Configure AWS credentials from $STACK_NAME account in $REGION region
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.DEVOPS_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.DEVOPS_AWS_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
# AWS P1 STAGE ACCOUNT STEPS BELOW
##########################################################
- name: Configure AWS credentials from $STACK_NAME account in $REGION region
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ steps.DeploySecret.outputs.P1_STAGE_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ steps.DeploySecret.outputs.P1_STAGE_AWS_SECRET_ACCESS_KEY }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/p1-uk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
# GITHUB REPO CHECKOUT
################################################
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
ref: ${{ github.event.inputs.BRANCH_TAG_NAME }}
Expand All @@ -62,16 +62,16 @@ jobs:
# NODE ENV
################################################
- name: Setup Node.js environment
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '14'
node-version: 18


################################################
# NODE MODULES CACHE
################################################
- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
id: cache-node-modules
env:
cache-name: cache
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
# AWS CLI CONFIGURATION - DEVOPS
################################################
- name: Configure AWS credentials from $STACK_NAME account in $REGION region
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.DEVOPS_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.DEVOPS_AWS_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
# AWS P1 UK ACCOUNT STEPS BELOW
##########################################################
- name: Configure AWS credentials from $STACK_NAME account in $REGION region
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ steps.DeploySecret.outputs.P1_UK_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ steps.DeploySecret.outputs.P1_UK_AWS_SECRET_ACCESS_KEY }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/p1-us.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
# GITHUB REPO CHECKOUT
################################################
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
ref: ${{ github.event.inputs.BRANCH_TAG_NAME }}
Expand All @@ -65,16 +65,16 @@ jobs:
# NODE ENV
################################################
- name: Setup Node.js environment
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '14'
node-version: 18


################################################
# NODE MODULES CACHE
################################################
- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
id: cache-node-modules
env:
cache-name: cache
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
# AWS CLI CONFIGURATION - DEVOPS
################################################
- name: Configure AWS credentials from $STACK_NAME account in $REGION region
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.DEVOPS_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.DEVOPS_AWS_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
# AWS P1 AU ACCOUNT STEPS BELOW
##########################################################
- name: Configure AWS credentials from $STACK_NAME account in $REGION region
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ steps.DeploySecret.outputs.P1_PROD_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ steps.DeploySecret.outputs.P1_PROD_AWS_SECRET_ACCESS_KEY }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/p2-aus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
# GITHUB REPO CHECKOUT
################################################
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
ref: ${{ github.event.inputs.BRANCH_TAG_NAME }}
Expand All @@ -63,16 +63,16 @@ jobs:
# NODE ENV
################################################
- name: Setup Node.js environment
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '14'
node-version: 18


################################################
# NODE MODULES CACHE
################################################
- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
id: cache-node-modules
env:
cache-name: cache
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/p2-euk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
# GITHUB REPO CHECKOUT
################################################
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
ref: ${{ github.event.inputs.BRANCH_TAG_NAME }}
Expand All @@ -62,16 +62,16 @@ jobs:
# NODE ENV
################################################
- name: Setup Node.js environment
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '14'
node-version: 18


################################################
# NODE MODULES CACHE
################################################
- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
id: cache-node-modules
env:
cache-name: cache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/p2-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: 18


################################################
# NODE MODULES CACHE
################################################
- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
id: cache-node-modules
env:
cache-name: cache
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/p2-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
# GITHUB REPO CHECKOUT
################################################
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

Expand All @@ -59,16 +59,16 @@ jobs:
# NODE ENV
################################################
- name: Setup Node.js environment
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '14'
node-version: 18


################################################
# NODE MODULES CACHE
################################################
- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
id: cache-node-modules
env:
cache-name: cache
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
# AWS CLI CONFIGURATION - DEVOPS
################################################
- name: Configure AWS credentials from $STACK_NAME account in $REGION region
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.DEVOPS_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.DEVOPS_AWS_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
# AWS P2 QA ACCOUNT STEPS BELOW
##########################################################
- name: Configure AWS credentials from $STACK_NAME account in $REGION region
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ steps.DeploySecret.outputs.P2_QA_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ steps.DeploySecret.outputs.P2_QA_AWS_SECRET_ACCESS_KEY }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/p2-sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: 18


################################################
# NODE MODULES CACHE
################################################
- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
id: cache-node-modules
env:
cache-name: cache
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/p2-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,16 @@ jobs:
# NODE ENV
################################################
- name: Setup Node.js environment
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: 18


################################################
# NODE MODULES CACHE
################################################
- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
id: cache-node-modules
env:
cache-name: cache
Expand Down
Loading

0 comments on commit cb1c72f

Please sign in to comment.