Skip to content

Commit

Permalink
Merge pull request #4 from abhikb101/master
Browse files Browse the repository at this point in the history
unsafe workspace fix
  • Loading branch information
youyo authored Nov 16, 2023
2 parents 378d8fd + bd296be commit e9898bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ RepositoryName="${INPUT_REPOSITORY_NAME}"
AwsRegion="${INPUT_AWS_REGION}"
CodeCommitUrl="https://git-codecommit.${AwsRegion}.amazonaws.com/v1/repos/${RepositoryName}"

git config --global --add safe.directory /github/workspace
git config --global credential.'https://git-codecommit.*.amazonaws.com'.helper '!aws codecommit credential-helper $@'
git config --global credential.UseHttpPath true
git remote add sync ${CodeCommitUrl}
Expand Down

0 comments on commit e9898bf

Please sign in to comment.