Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
67e933a
chore: Bump aws-sdk from 2.1234.0 to 2.1239.0 (#407)
dependabot[bot] Oct 25, 2022
2686c9e
chore: Bump eslint from 8.25.0 to 8.26.0 (#408)
dependabot[bot] Oct 25, 2022
bf55a78
chore: Bump jest from 29.2.0 to 29.2.2 (#409)
dependabot[bot] Oct 25, 2022
e695972
chore: Bump aws-sdk from 2.1239.0 to 2.1244.0 (#410)
dependabot[bot] Nov 1, 2022
b00794f
chore: Bump jest from 29.2.2 to 29.3.0 (#411)
dependabot[bot] Nov 8, 2022
9c36cb8
chore: Bump aws-sdk from 2.1244.0 to 2.1249.0 (#412)
dependabot[bot] Nov 8, 2022
6de0d52
chore: Bump eslint from 8.26.0 to 8.27.0 (#413)
dependabot[bot] Nov 8, 2022
ccbd88b
chore: Bump aws-sdk from 2.1249.0 to 2.1254.0 (#416)
dependabot[bot] Nov 15, 2022
52843ed
chore: Bump jest from 29.3.0 to 29.3.1 (#415)
dependabot[bot] Nov 15, 2022
60f56a6
docs: update output usage in the readme (#414)
amazingandyyy Nov 15, 2022
2a6714c
chore: Bump eslint from 8.27.0 to 8.28.0 (#418)
dependabot[bot] Nov 22, 2022
5a87dad
chore: Bump aws-sdk from 2.1254.0 to 2.1259.0 (#419)
dependabot[bot] Nov 22, 2022
b3021c7
chore: Bump aws-sdk from 2.1259.0 to 2.1262.0 (#421)
dependabot[bot] Nov 29, 2022
cddd3e5
chore: Bump minimatch from 3.0.4 to 3.1.2 (#422)
dependabot[bot] Nov 29, 2022
76cb8fd
chore: Bump aws-sdk from 2.1262.0 to 2.1268.0 (#423)
dependabot[bot] Dec 6, 2022
79ac189
chore: Bump @vercel/ncc from 0.34.0 to 0.36.0 (#424)
dependabot[bot] Dec 6, 2022
d296f9b
chore: Bump eslint from 8.28.0 to 8.29.0 (#425)
dependabot[bot] Dec 6, 2022
c9b6a32
chore: Bump @actions/core from 1.6.0 to 1.10.0, resolves #401 (#405)
pjaudiomv Dec 8, 2022
fe41d3c
chore: Bump aws-sdk from 2.1268.0 to 2.1273.0 (#428)
dependabot[bot] Dec 13, 2022
da5ede7
chore: Bump aws-sdk from 2.1273.0 to 2.1278.0 (#432)
dependabot[bot] Dec 20, 2022
fbfe97e
chore: Bump eslint from 8.29.0 to 8.30.0 (#433)
dependabot[bot] Dec 20, 2022
fe854e9
chore: Bump yaml from 2.1.3 to 2.2.0 (#434)
dependabot[bot] Dec 27, 2022
13f09fa
chore: Bump aws-sdk from 2.1278.0 to 2.1282.0 (#435)
dependabot[bot] Dec 27, 2022
258a459
chore: Bump eslint from 8.30.0 to 8.31.0 (#436)
dependabot[bot] Jan 3, 2023
d247151
chore: Bump yaml from 2.2.0 to 2.2.1 (#438)
dependabot[bot] Jan 3, 2023
80de4cc
chore: Bump json5 from 2.2.1 to 2.2.3 (#439)
dependabot[bot] Jan 3, 2023
0bca6b9
chore: Bump aws-sdk from 2.1282.0 to 2.1286.0 (#437)
dependabot[bot] Jan 3, 2023
67f6f62
chore: update dist/index.js (#440)
paragbhingre Jan 3, 2023
ea0e64d
chore: revert update dist/index.js (#443)
paragbhingre Jan 4, 2023
5d7b82b
chore: Update dist
Jan 4, 2023
df96430
chore(release): 1.4.11
Jan 4, 2023
e14b41b
chore(cicd): package action should be triggered on PR push (#485)
Lou1415926 Apr 28, 2023
06935da
chore: Bump aws-sdk from 2.1286.0 to 2.1368.0 (#486)
dependabot[bot] Apr 28, 2023
b030aa0
chore: Bump yaml from 2.2.1 to 2.2.2 (#482)
dependabot[bot] Apr 28, 2023
234508e
chore(cicd): remove `GH_TOKEN` and add permissions (#487)
Lou1415926 Apr 28, 2023
290c43e
chore: Bump eslint from 8.31.0 to 8.39.0 (#483)
dependabot[bot] Apr 29, 2023
68ea58c
chore: Bump eslint from 8.39.0 to 8.40.0 (#489)
dependabot[bot] May 9, 2023
d7d7893
chore: Bump eslint from 8.40.0 to 8.41.0 (#491)
dependabot[bot] May 23, 2023
9792267
chore: Bump eslint from 8.41.0 to 8.42.0 (#493)
dependabot[bot] Jun 6, 2023
796f846
chore: Bump eslint from 8.42.0 to 8.43.0 (#496)
dependabot[bot] Jun 20, 2023
31040ef
chore: Bump eslint from 8.43.0 to 8.44.0 (#498)
dependabot[bot] Jul 4, 2023
f24d5e4
chore: Bump jest from 29.3.1 to 29.6.1 (#500)
dependabot[bot] Jul 11, 2023
d8741c2
chore: Bump eslint from 8.44.0 to 8.45.0 (#503)
dependabot[bot] Jul 18, 2023
5a8a6f9
chore: Bump eslint from 8.45.0 to 8.46.0 (#508)
dependabot[bot] Aug 1, 2023
165127b
chore: Bump jest from 29.6.1 to 29.6.2 (#509)
dependabot[bot] Aug 1, 2023
3a7cb45
chore: Bump eslint from 8.46.0 to 8.47.0 (#511)
dependabot[bot] Aug 15, 2023
32485e6
chore: Bump jest from 29.6.2 to 29.6.3 (#512)
dependabot[bot] Aug 22, 2023
94077af
chore: Bump eslint from 8.47.0 to 8.48.0 (#514)
dependabot[bot] Aug 29, 2023
4bda808
chore: Bump jest from 29.6.3 to 29.6.4 (#513)
dependabot[bot] Aug 29, 2023
9440d1e
chore: Bump @vercel/ncc from 0.36.0 to 0.38.0 (#515)
dependabot[bot] Sep 12, 2023
37ec59d
chore: Bump eslint from 8.48.0 to 8.49.0 (#517)
dependabot[bot] Sep 12, 2023
0342da9
chore: Bump jest from 29.6.4 to 29.7.0 (#519)
dependabot[bot] Sep 19, 2023
6fa4cbf
chore: Bump eslint from 8.49.0 to 8.50.0 (#520)
dependabot[bot] Sep 26, 2023
4fdd876
chore: Bump eslint from 8.50.0 to 8.51.0 (#522)
dependabot[bot] Oct 10, 2023
565a4ff
chore: Bump @babel/traverse from 7.22.20 to 7.23.2 (#523)
dependabot[bot] Oct 19, 2023
473decd
chore: Bump @vercel/ncc from 0.38.0 to 0.38.1 (#525)
dependabot[bot] Oct 24, 2023
0ac0361
chore: Bump eslint from 8.51.0 to 8.52.0 (#526)
dependabot[bot] Oct 24, 2023
395eb89
chore: Bump eslint from 8.52.0 to 8.53.0 (#528)
dependabot[bot] Nov 7, 2023
47d7844
chore: Bump eslint from 8.53.0 to 8.54.0 (#530)
dependabot[bot] Nov 21, 2023
61cb3a1
chore: Bump eslint from 8.54.0 to 8.55.0 (#531)
dependabot[bot] Dec 5, 2023
ee7a5be
chore: Bump eslint from 8.55.0 to 8.56.0 (#534)
dependabot[bot] Dec 19, 2023
e5f78d3
feat: Add desired tasks (#505)
romankydybets Feb 7, 2024
ab22dc1
chore: Bump eslint from 8.56.0 to 8.57.0 (#541)
dependabot[bot] Feb 27, 2024
fd7e025
chore: Bump @actions/core from 1.10.0 to 1.10.1 (#516)
dependabot[bot] Mar 19, 2024
29305fe
chore: Bump yaml from 2.2.2 to 2.3.1 (#492)
dependabot[bot] Mar 19, 2024
da744a6
chore: Bump aws-sdk from 2.1368.0 to 2.1369.0 (#488)
dependabot[bot] Mar 19, 2024
302cdae
chore: Upgrade to Node 20, remove deprecation warnings, upgrade CI de…
singhprd Mar 19, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Run tests
run: |
npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/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@v2
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
Expand Down
51 changes: 31 additions & 20 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,38 @@
name: Package

# When a pull request is opened/reopened or when the head branch of the pull request is updated.
on:
push:
branches:
- master
pull_request:

name: Package

jobs:
check:
build:
name: Package distribution file
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: master
- name: Package
run: |
npm ci
npm test
npm run package
- name: Commit
run: |
git config --global user.name "GitHub Actions"
git add dist/
git commit -m "chore: Update dist" || echo "No changes to commit"
git push origin HEAD:master
- name: Init a git repo
uses: actions/checkout@v4
- name: Checkout PR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr checkout ${{ github.event.pull_request.number }}
- name: Package
run: |
npm ci
npm test
npm run package
- name: Commit to PR
if: github.actor == 'dependabot[bot]'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name "GitHub Actions"
git add dist/
git commit -m "chore: Update dist" || echo "No changes to commit"
git push
- name: Check git diff
if: github.actor != 'dependabot[bot]'
run: |
git diff --exit-code dist/index.js
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.4.11](https://github.com/aws-actions/amazon-ecs-deploy-task-definition/compare/v1.4.10...v1.4.11) (2023-01-04)

### [1.4.10](https://github.com/aws-actions/amazon-ecs-deploy-task-definition/compare/v1.4.9...v1.4.10) (2022-09-30)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ The task definition file can be updated prior to deployment with the new contain
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG"
echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT

- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def
Expand Down
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ inputs:
task-definition:
description: 'The path to the ECS task definition file to register'
required: true
desired-count:
description: 'The number of instantiations of the task to place and keep running in your service.'
required: false
service:
description: 'The name of the ECS service to deploy to. The action will only register the task definition if no service is given.'
required: false
Expand Down Expand Up @@ -40,5 +43,5 @@ outputs:
codedeploy-deployment-id:
description: 'The deployment ID of the CodeDeploy deployment (if the ECS service uses the CODE_DEPLOY deployment controller'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
Loading