Skip to content

Commit 46c034d

Browse files
committed
Add custom user agent
1 parent 87fe212 commit 46c034d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

dist/index.js

+3-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ const aws = require('aws-sdk');
44

55
async function run() {
66
try {
7-
const ecs = new aws.ECS();
7+
const ecs = new aws.ECS({
8+
customUserAgent: 'amazon-ecs-deploy-task-definition-for-github-actions'
9+
});
810

911
// Get inputs
1012
const taskDefinitionFile = core.getInput('task-definition', { required: true });

0 commit comments

Comments
 (0)