From b99e640e48421d3074c6a2ae7d01d3550882ad5a Mon Sep 17 00:00:00 2001 From: Robert Bo Davis Date: Wed, 27 Sep 2023 07:36:01 -0400 Subject: [PATCH 1/2] chore: bump checkout action version --- .github/workflows/check-license-header.yml | 2 +- .../deploy-all-production-accounts.yml | 3 +-- .../workflows/deploy-all-staging-accounts.yml | 3 +-- .../workflows/deploy-multiple-accounts.yml | 2 +- .github/workflows/serverless-ci.yml | 24 +++++++++---------- .../workflows/serverless-pre-release-qa.yml | 4 ++-- .../serverless-production-release.yml | 2 +- 7 files changed, 19 insertions(+), 21 deletions(-) diff --git a/.github/workflows/check-license-header.yml b/.github/workflows/check-license-header.yml index 29a52d43..2cab44a9 100644 --- a/.github/workflows/check-license-header.yml +++ b/.github/workflows/check-license-header.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Validate License Headers run: npm run license:check diff --git a/.github/workflows/deploy-all-production-accounts.yml b/.github/workflows/deploy-all-production-accounts.yml index 00ec6e0b..8f85b9c7 100644 --- a/.github/workflows/deploy-all-production-accounts.yml +++ b/.github/workflows/deploy-all-production-accounts.yml @@ -26,7 +26,7 @@ jobs: outputs: target_helplines: ${{ steps.determine-target-helplines.outputs.target_helplines }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 with: @@ -46,4 +46,3 @@ jobs: with: helplines: ${{ needs.configure.outputs.production_helplines }} environments: '[ "PROD" ]' - diff --git a/.github/workflows/deploy-all-staging-accounts.yml b/.github/workflows/deploy-all-staging-accounts.yml index c4a881c9..9445e2a8 100644 --- a/.github/workflows/deploy-all-staging-accounts.yml +++ b/.github/workflows/deploy-all-staging-accounts.yml @@ -26,7 +26,7 @@ jobs: outputs: target_helplines: ${{ steps.determine-target-helplines.outputs.target_helplines }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 with: @@ -46,4 +46,3 @@ jobs: with: helplines: ${{ needs.configure.outputs.target_helplines }} environments: '[ "STG" ]' - diff --git a/.github/workflows/deploy-multiple-accounts.yml b/.github/workflows/deploy-multiple-accounts.yml index c06a41c9..c5651086 100644 --- a/.github/workflows/deploy-multiple-accounts.yml +++ b/.github/workflows/deploy-multiple-accounts.yml @@ -55,7 +55,7 @@ jobs: TWILIO_AUTH_TOKEN_SECRET_NAME: ${{matrix.helpline_code}}_${{matrix.environment_code}}_AUTH_TOKEN FULL_ENVIRONMENT_NAME: ${{matrix.environment_code == 'PROD' && 'production' || matrix.environment_code == 'STG' && 'staging' || 'development'}} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js uses: actions/setup-node@v1 with: diff --git a/.github/workflows/serverless-ci.yml b/.github/workflows/serverless-ci.yml index 1df3c8f2..0ec20ca5 100644 --- a/.github/workflows/serverless-ci.yml +++ b/.github/workflows/serverless-ci.yml @@ -25,15 +25,15 @@ jobs: node-version: [16.x] steps: - - name: Checkout Branch - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: Install Packages - run: npm install - - name: Run Lint - run: npm run lint --if-present - - name: Run Tests - run: npm run test \ No newline at end of file + - name: Checkout Branch + uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: Install Packages + run: npm install + - name: Run Lint + run: npm run lint --if-present + - name: Run Tests + run: npm run test diff --git a/.github/workflows/serverless-pre-release-qa.yml b/.github/workflows/serverless-pre-release-qa.yml index 87ea3130..ce787651 100644 --- a/.github/workflows/serverless-pre-release-qa.yml +++ b/.github/workflows/serverless-pre-release-qa.yml @@ -43,7 +43,7 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js uses: actions/setup-node@v1 with: @@ -98,7 +98,7 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Create pre release uses: techmatters/flex-plugins/.github/actions/generate-pre-release@master diff --git a/.github/workflows/serverless-production-release.yml b/.github/workflows/serverless-production-release.yml index 2385316f..a60dc63e 100644 --- a/.github/workflows/serverless-production-release.yml +++ b/.github/workflows/serverless-production-release.yml @@ -33,7 +33,7 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Create production release uses: techmatters/flex-plugins/.github/actions/generate-production-release@master From 3c9e814663da25aae535dc03405b8cb13f097dc2 Mon Sep 17 00:00:00 2001 From: Robert Bo Davis Date: Wed, 27 Sep 2023 07:42:50 -0400 Subject: [PATCH 2/2] chore: bump configure-aws-credentials action version --- .github/workflows/deploy-all-production-accounts.yml | 2 +- .github/workflows/deploy-all-staging-accounts.yml | 2 +- .github/workflows/deploy-multiple-accounts.yml | 4 ++-- .github/workflows/serverless-pre-release-qa.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-all-production-accounts.yml b/.github/workflows/deploy-all-production-accounts.yml index 8f85b9c7..09433ddb 100644 --- a/.github/workflows/deploy-all-production-accounts.yml +++ b/.github/workflows/deploy-all-production-accounts.yml @@ -28,7 +28,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v2 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/deploy-all-staging-accounts.yml b/.github/workflows/deploy-all-staging-accounts.yml index 9445e2a8..6cd96a19 100644 --- a/.github/workflows/deploy-all-staging-accounts.yml +++ b/.github/workflows/deploy-all-staging-accounts.yml @@ -28,7 +28,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v2 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/deploy-multiple-accounts.yml b/.github/workflows/deploy-multiple-accounts.yml index c5651086..c207014a 100644 --- a/.github/workflows/deploy-multiple-accounts.yml +++ b/.github/workflows/deploy-multiple-accounts.yml @@ -62,7 +62,7 @@ jobs: node-version: 16.x # Setup credentials to access AWS for parameters - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v2 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -187,7 +187,7 @@ jobs: steps: # Setup credentials to access AWS for parameters - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v2 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/serverless-pre-release-qa.yml b/.github/workflows/serverless-pre-release-qa.yml index ce787651..76df83da 100644 --- a/.github/workflows/serverless-pre-release-qa.yml +++ b/.github/workflows/serverless-pre-release-qa.yml @@ -50,7 +50,7 @@ jobs: node-version: '16.x' - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v2 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}