Skip to content
Closed
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
20 changes: 10 additions & 10 deletions .github/workflows/build-ecr-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand All @@ -263,14 +263,14 @@ jobs:
echo "sha=$sha" >> $GITHUB_OUTPUT

- name: 'Configure AWS credentials'
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4.0.2
with:
aws-region: ${{ inputs.aws-region }}
role-to-assume: ${{ env.DEPLOY_IAM_ROLE }}
role-duration-seconds: 1200

- name: 'Login to Amazon ECR'
uses: aws-actions/amazon-ecr-login@v1
uses: aws-actions/amazon-ecr-login@v2

- name: 'Check if the image already exists'
id: already-exists
Expand All @@ -289,7 +289,7 @@ jobs:

- name: 'Notify slack of build started'
if: (inputs.skip-if-exists == false || steps.already-exists.outputs.answer == 'false') && inputs.notify-slack == true
uses: shopsmart/github-actions/actions/notify-slack@v2
uses: shopsmart/github-actions/actions/notify-slack@v3
with:
application: ${{ inputs.application }}
status: started
Expand All @@ -301,7 +301,7 @@ jobs:
- name: 'Is github release?'
id: is-gh-release
if: inputs.skip-if-exists == false || steps.already-exists.outputs.answer == 'false'
uses: shopsmart/github-actions/actions/is-gh-release@v2
uses: shopsmart/github-actions/actions/is-gh-release@v3
with:
ref: ${{ inputs.ref }}

Expand All @@ -328,13 +328,13 @@ jobs:
# for private dependencies
- name: 'Install SSH Key'
if: (inputs.skip-if-exists == false || steps.already-exists.outputs.answer == 'false') && steps.ssh.outputs.ssh != ''
uses: webfactory/ssh-agent@v0.7.0
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.ssh-private-key }}

- name: 'Setup docker buildx'
if: inputs.skip-if-exists == false || steps.already-exists.outputs.answer == 'false'
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
version: ${{ inputs.buildx-version }}
driver: ${{ inputs.driver }}
Expand All @@ -350,7 +350,7 @@ jobs:

- name: 'Build docker image'
if: inputs.skip-if-exists == false || steps.already-exists.outputs.answer == 'false'
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
add-hosts: ${{ inputs.add-hosts }}
allow: ${{ inputs.allow }}
Expand Down Expand Up @@ -407,15 +407,15 @@ jobs:

- name: 'Upload docker image'
if: (inputs.skip-if-exists == false || steps.already-exists.outputs.answer == 'false') && steps.is-gh-release.outputs.is-release == 'true'
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ inputs.ref }}
files: docker-image-*.tgz
token: ${{ secrets.github-token || github.token }}

- name: 'Notify slack of build status'
if: always() && (inputs.skip-if-exists == false || steps.already-exists.outputs.answer == 'false') && inputs.notify-slack == true
uses: shopsmart/github-actions/actions/notify-slack@v2
uses: shopsmart/github-actions/actions/notify-slack@v3
with:
application: ${{ inputs.application }}
status: ${{ job.status }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-lambda-function.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ jobs:

# configure aws credentials
- name: 'Configure AWS credentials'
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@v4.0.2
with:
aws-access-key-id: ${{ inputs.aws-access-key-id }}
aws-secret-access-key: ${{ inputs.aws-secret-access-key }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notify-slack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Notify slack'
uses: shopsmart/github-actions/actions/notify-slack@v2
uses: shopsmart/github-actions/actions/notify-slack@v3
with:
application: ${{ inputs.application }}
environment: ${{ inputs.environment }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/register-task-definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ jobs:
steps:
- name: 'Notify slack of deployment started'
if: inputs.notify-slack == true
uses: shopsmart/github-actions/actions/notify-slack@v2
uses: shopsmart/github-actions/actions/notify-slack@v3
with:
application: ${{ inputs.application }}
environment: ${{ inputs.environment }}
Expand Down Expand Up @@ -215,14 +215,14 @@ jobs:
name: ${{ inputs.artifact-name }}

- name: 'Configure AWS Credentials'
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4.0.2
with:
aws-region: ${{ inputs.aws-region }}
role-to-assume: ${{ env.DEPLOY_IAM_ROLE }}

- name: 'Register task definition'
id: register
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
uses: aws-actions/amazon-ecs-deploy-task-definition@v2
with:
task-definition: ${{ inputs.task-definition }}
service: ${{ inputs.service }}
Expand All @@ -236,14 +236,14 @@ jobs:
force-new-deployment: ${{ inputs.force-new-deployment }}

- name: 'Tag the task definition'
uses: shopsmart/github-actions/actions/tag-ecs-resource@v2
uses: shopsmart/github-actions/actions/tag-ecs-resource@v3
with:
resource-arn: ${{ steps.register.outputs.task-definition-arn }}
tags: ${{ inputs.task-definition-tags }}

- name: 'Tag the ECS Service'
if: inputs.service != ''
uses: shopsmart/github-actions/actions/tag-ecs-resource@v2
uses: shopsmart/github-actions/actions/tag-ecs-resource@v3
with:
resource-arn: ${{ env.ECS_SERVICE_ARN }}
tags: ${{ inputs.service-tags }}
Expand All @@ -256,7 +256,7 @@ jobs:

- name: 'Notify slack of deployment status'
if: always() && inputs.notify-slack == true
uses: shopsmart/github-actions/actions/notify-slack@v2
uses: shopsmart/github-actions/actions/notify-slack@v3
with:
application: ${{ inputs.application }}
environment: ${{ inputs.environment }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/render-task-definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-build-ecr-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
needs: run-build-ecr-image-workflow
steps:
- name: 'Checkout actions'
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 'Test build-ecr-image workflow'
uses: ./.github/actions/test-build-ecr-image
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
needs: run-build-ecr-image-workflow-tag
steps:
- name: 'Checkout actions'
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 'Test build-ecr-image workflow'
uses: ./.github/actions/test-build-ecr-image
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-deploy-lambda-function-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 'Create archive file'
shell: bash
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: ./.github/actions/test-deploy-lambda-function-workflow
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-deploy-lambda-function.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout actions'
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 'Test deploy-lambda-function action'
uses: ./.github/actions/test-deploy-lambda-function
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-deploy-to-s3-bucket.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout actions'
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 'Test deploy-to-s3-bucket action'
uses: ./.github/actions/test-deploy-to-s3-bucket
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-is-gh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout actions'
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 'Test is-gh-release action'
uses: ./.github/actions/test-is-gh-release
2 changes: 1 addition & 1 deletion .github/workflows/test-notify-slack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout actions'
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 'Test notify-slack action'
id: notify
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-package-archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout actions'
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 'Test package-archive action'
uses: ./.github/actions/test-package-archive
4 changes: 2 additions & 2 deletions .github/workflows/test-register-task-definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
ACTION_PATH: .github/actions/test-register-task-definition
steps:
- name: 'Checkout'
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 'Rewrite task definition file'
shell: bash
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
TASK_DEFINITION_ARN: arn:aws:ecs:us-east-1:${{ secrets.AWS_ACCOUNT_ID }}:task-definition/github-actions-tests:${{ needs.run-register-task-definition-workflow.outputs.revision-number }}
steps:
- name: 'Checkout actions'
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 'Test register-task-definition workflow'
uses: ./.github/actions/test-register-task-definition
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-render-jinjanator-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
runs-on: ubuntu-latest
steps:
- name: 'Checkout actions'
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 'Test render-jinjanator-template action'
uses: ./.github/actions/test-render-jinjanator-template
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-render-task-definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
needs: run-render-task-definition-workflow
steps:
- name: 'Checkout actions'
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 'Test render-task-definition workflow'
uses: ./.github/actions/test-render-task-definition
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-setup-homebrew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: 'Checkout actions'
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 'Test setup-brew action'
uses: ./.github/actions/test-setup-homebrew
2 changes: 1 addition & 1 deletion .github/workflows/test-setup-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout actions'
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 'Test setup-node action'
uses: ./.github/actions/test-setup-node
2 changes: 1 addition & 1 deletion .github/workflows/test-tag-ecs-resource.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout actions'
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 'Test tag-ecs-resource action'
uses: ./.github/actions/test-tag-ecs-resource
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-unpack-archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout actions'
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 'Test unpack-archive action'
uses: ./.github/actions/test-unpack-archive
14 changes: 7 additions & 7 deletions .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: 'Checkout'
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 'Setup node'
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: actions/create-datadog-downtime/.nvmrc
cache: npm
Expand All @@ -36,7 +36,7 @@ jobs:
working-directory: actions/create-datadog-downtime

- name: 'Run pre-commit'
uses: pre-commit/action@v2.0.0
uses: pre-commit/action@v3.0.1
with:
token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -45,7 +45,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 'Setup Homebrew'
uses: Homebrew/actions/setup-homebrew@master
Expand All @@ -65,10 +65,10 @@ jobs:
- create-datadog-downtime
steps:
- name: 'Checkout'
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 'Setup node'
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: actions/${{ matrix.action }}/.nvmrc
cache: npm
Expand Down
Loading