Skip to content

Commit

Permalink
Renovate Update GitHub Actions (#2544)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Mar 14, 2024
1 parent a9115c3 commit b7be215
Show file tree
Hide file tree
Showing 18 changed files with 60 additions and 60 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/_build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ jobs:
run_integration_tests: 'false'
artifact_to_dl: ''
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v3
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3

- name: cache node modules
id: cache-npm
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # [email protected]
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # [email protected]
env:
cache-name: cache-node-modules
with:
Expand All @@ -94,7 +94,7 @@ jobs:
inputs.specific_path == 'all' || inputs.specific_path == matrix.svc_prefix
- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@e6c766a518826746395987edb73a1a5767d0b602 # [email protected]
uses: aws-actions/configure-aws-credentials@e0fc2428ccc7f7031a468e4a9d673be1a95fb8b9 # [email protected]
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_ACTIONS }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ACTIONS }}
Expand All @@ -107,7 +107,7 @@ jobs:
(inputs.specific_path == 'all' || inputs.specific_path == matrix.svc_prefix)
- name: download artifact
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
with:
name: ${{ matrix.artifact_to_dl }}
path: service-${{ matrix.svc_prefix }}/web/dist
Expand Down Expand Up @@ -198,7 +198,7 @@ jobs:
(inputs.specific_path == 'all' || inputs.specific_path == matrix.svc_prefix)
- name: archive test results
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # [email protected]
uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb # [email protected]
with:
name: service-${{ matrix.svc_prefix }}
path: build/service-${{ matrix.svc_prefix }}
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:

- name: ecr login
id: login_ecr
uses: aws-actions/amazon-ecr-login@f8672cc4c5410eabbb9df3d9bb4c7ad01fc4cc3e # [email protected]
uses: aws-actions/amazon-ecr-login@ebdeac79a5f9525e298b368a491c338b8fd60fe9 # [email protected]
with:
registries: 311462405659
if: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/_codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,26 @@ jobs:
code_coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v3
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3
- name: download artifact for front tests
id: download-artifact-front-tests
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
continue-on-error: true
with:
name: service-front
path: service-front
if: inputs.specific_path == 'all'
- name: download artifact for api tests
id: download-artifact-api-tests
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
continue-on-error: true
with:
name: service-api
path: service-api
if: inputs.specific_path == 'all'
- name: download artifact for admin tests
id: download-artifact-admin-tests
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
continue-on-error: true
with:
name: service-admin
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/_ecr-scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
ecr-scan-results:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v3
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3

- name: configure AWS credentials ECR scan results
uses: aws-actions/configure-aws-credentials@e6c766a518826746395987edb73a1a5767d0b602 # [email protected]
uses: aws-actions/configure-aws-credentials@e0fc2428ccc7f7031a468e4a9d673be1a95fb8b9 # [email protected]
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_ACTIONS }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ACTIONS }}
Expand All @@ -27,7 +27,7 @@ jobs:
role-session-name: OPGUseAnLPAECRScanGithubAction

- name: install python
uses: actions/setup-python@e8111cec9d3dc15220d8a3b638f08419f57b906a # [email protected]
uses: actions/setup-python@9a7ac94420f42ee15fc60ab88d0dca4be1fd5757 # [email protected]
with:
python-version: '3.10'
cache: 'pip'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_lint-terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- folder: 'environment'
- folder: 'account'
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v3
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3

- name: Set Terraform version
working-directory: ./terraform/${{ matrix.folder }}
Expand All @@ -37,7 +37,7 @@ jobs:
name: Setup TFLint

- name: configure AWS credentials for terraform
uses: aws-actions/configure-aws-credentials@e6c766a518826746395987edb73a1a5767d0b602 # [email protected]
uses: aws-actions/configure-aws-credentials@e0fc2428ccc7f7031a468e4a9d673be1a95fb8b9 # [email protected]
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_ACTIONS }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ACTIONS }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/_node-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
build-web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v3
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # [email protected]
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3
- uses: actions/setup-node@c2ac33f2c62f978d6c944d9648125a294e56dc0b # [email protected]
with:
node-version-file: '.nvmrc'
- name: cache node modules
id: cache-npm
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # [email protected]
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # [email protected]
env:
cache-name: cache-node-modules
with:
Expand All @@ -33,7 +33,7 @@ jobs:
cd service-front/web/
npm run build
- name: archive dist
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # [email protected]
uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb # [email protected]
with:
name: dist-web
path: service-front/web/dist/
6 changes: 3 additions & 3 deletions .github/workflows/_node-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v3
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # [email protected]
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3
- uses: actions/setup-node@c2ac33f2c62f978d6c944d9648125a294e56dc0b # [email protected]
with:
node-version-file: '.nvmrc'
- name: cache node modules
id: cache-npm
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # [email protected]
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # [email protected]
env:
cache-name: cache-node-modules
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/_run-behat-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
build-web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v3
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3

- name: install python
uses: actions/setup-python@e8111cec9d3dc15220d8a3b638f08419f57b906a # [email protected]
uses: actions/setup-python@9a7ac94420f42ee15fc60ab88d0dca4be1fd5757 # [email protected]
with:
python-version: '3.10'
cache: 'pip'
Expand All @@ -45,13 +45,13 @@ jobs:
working-directory: tests/smoke

- name: download cluster_config
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
with:
name: environment_config_file
path: terraform/environment

- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@e6c766a518826746395987edb73a1a5767d0b602 # [email protected]
uses: aws-actions/configure-aws-credentials@e0fc2428ccc7f7031a468e4a9d673be1a95fb8b9 # [email protected]
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_ACTIONS }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ACTIONS }}
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
vendor/bin/behat
- name: archive failed test screenshots
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # [email protected]
uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb # [email protected]
with:
name: behat-screenshots
path: tests/smoke/failed_step_screenshots
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/_run-terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
echo "admin-tag=$(echo ${TAG})" >> $GITHUB_OUTPUT
fi
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v3
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3
with:
fetch-depth: '0'

Expand All @@ -76,7 +76,7 @@ jobs:
terraform_version: ${{ steps.set-terraform-version.outputs.TF_VERSION }}

- name: configure AWS credentials for getting pagerduty token
uses: aws-actions/configure-aws-credentials@e6c766a518826746395987edb73a1a5767d0b602 # [email protected]
uses: aws-actions/configure-aws-credentials@e0fc2428ccc7f7031a468e4a9d673be1a95fb8b9 # [email protected]
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_ACTIONS }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ACTIONS }}
Expand All @@ -93,7 +93,7 @@ jobs:
echo TF_VAR_pagerduty_token=$TF_VAR_pagerduty_token >> $GITHUB_ENV
- name: configure AWS credentials for terraform
uses: aws-actions/configure-aws-credentials@e6c766a518826746395987edb73a1a5767d0b602 # [email protected]
uses: aws-actions/configure-aws-credentials@e0fc2428ccc7f7031a468e4a9d673be1a95fb8b9 # [email protected]
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_ACTIONS }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ACTIONS }}
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:

- name: upload environment cluster config file
if: inputs.terraform_path == 'environment'
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # [email protected]
uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb # [email protected]
with:
name: environment_config_file
path: terraform/environment/cluster_config.json
8 changes: 4 additions & 4 deletions .github/workflows/_seed-database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ jobs:
terraform_workflow:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v3
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3
with:
fetch-depth: '0'

- name: configure AWS credentials for terraform
uses: aws-actions/configure-aws-credentials@e6c766a518826746395987edb73a1a5767d0b602 # [email protected]
uses: aws-actions/configure-aws-credentials@e0fc2428ccc7f7031a468e4a9d673be1a95fb8b9 # [email protected]
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_ACTIONS }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ACTIONS }}
Expand All @@ -19,13 +19,13 @@ jobs:
role-session-name: OPGUseAnLPASeedGithubAction

- name: download cluster_config
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
with:
name: environment_config_file
path: terraform/environment

- name: install python
uses: actions/setup-python@e8111cec9d3dc15220d8a3b638f08419f57b906a # [email protected]
uses: actions/setup-python@9a7ac94420f42ee15fc60ab88d0dca4be1fd5757 # [email protected]
with:
python-version: '3.10'
cache: 'pip'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/_slack-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
send-slack-notification:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v3
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3

- name: install python
uses: actions/setup-python@e8111cec9d3dc15220d8a3b638f08419f57b906a # [email protected]
uses: actions/setup-python@9a7ac94420f42ee15fc60ab88d0dca4be1fd5757 # [email protected]
with:
python-version: '3.10'
cache: 'pip'
Expand All @@ -36,7 +36,7 @@ jobs:
run: pip install -r scripts/pipeline/requirements.txt

- name: download cluster_config
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
with:
name: environment_config_file
path: /tmp
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/path-to-live.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
short_sha: ${{ steps.variables.outputs.short_sha }}
semver_tag: ${{ steps.semver_tag.outputs.created_tag }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v3
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3
- name: extract variables for workflow
id: variables
run: |
Expand Down Expand Up @@ -90,19 +90,19 @@ jobs:
- workflow_variables
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v3
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3
- name: download artifact for front tests
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
with:
name: service-front
path: service-front
- name: download artifact for api tests
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
with:
name: service-api
path: service-api
- name: download artifact for api tests
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
with:
name: service-admin
path: service-admin
Expand Down Expand Up @@ -198,11 +198,11 @@ jobs:
needs:
- terraform_apply_production
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v3
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3
with:
fetch-depth: '0'
- name: download cluster_config
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
with:
name: environment_config_file
path: terraform/environment
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pull-request-path.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,24 @@ jobs:
short_sha: ${{ steps.variables.outputs.short_sha }}
specific_path: ${{ steps.variables.outputs.path }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v3
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3
with:
fetch-depth: 2
- name: get changed files in the admin folder
id: changed-files-admin
uses: tj-actions/changed-files@1864dc5311069c2319e40ddda20ebf24336dcba9
uses: tj-actions/changed-files@2859a60726ea6e36242029176333d2d37880bbc5
with:
files: |
service-admin/**
- name: get changed files in the terraform folder
id: changed-files-terraform
uses: tj-actions/changed-files@1864dc5311069c2319e40ddda20ebf24336dcba9
uses: tj-actions/changed-files@2859a60726ea6e36242029176333d2d37880bbc5
with:
files: |
terraform/**
- name: get changed docs files in any folder
id: changed-files-docs
uses: tj-actions/changed-files@1864dc5311069c2319e40ddda20ebf24336dcba9
uses: tj-actions/changed-files@2859a60726ea6e36242029176333d2d37880bbc5
with:
files: |
**/*.md
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scheduled-codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v3
uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scheduled-tfsec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
contents: read
security-events: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v3
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3
with:
persist-credentials: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scheduled-update-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- seed_dynamodb
steps:
- name: configure AWS credentials for ecs update
uses: aws-actions/configure-aws-credentials@e6c766a518826746395987edb73a1a5767d0b602 # [email protected]
uses: aws-actions/configure-aws-credentials@e0fc2428ccc7f7031a468e4a9d673be1a95fb8b9 # [email protected]
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_ACTIONS }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ACTIONS }}
Expand Down
Loading

0 comments on commit b7be215

Please sign in to comment.