Bump github.com/aws/aws-sdk-go-v2/config in /agent #303
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitSecretsScan | |
on: [push, pull_request] | |
permissions: read-all | |
jobs: | |
git-secret-check: | |
name: Git Secrets Scan | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
path: src/github.com/aws/amazon-ecs-service-connect-agent | |
- name: Git Secrets Scan Script | |
run: | | |
# workaround git-secrets requiring the say command: https://github.com/awslabs/git-secrets/pull/221 | |
ln -s "$(which echo)" /usr/local/bin/say | |
set -ex | |
cd $GITHUB_WORKSPACE | |
git clone https://github.com/awslabs/git-secrets.git && cd git-secrets | |
sudo make install | |
git secrets --register-aws --global | |
cd $GITHUB_WORKSPACE/src/github.com/aws/amazon-ecs-service-connect-agent | |
git secrets --install | |
git secrets --register-aws | |
git secrets --scan-history |