File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88# checkout: true
99# fetch-depth: 0
1010# ref: 'main'
11- # scan-type: '--scan-history '
11+ # scan-type: '--scan'
1212branding :
1313 color : ' orange'
1414 icon : ' activity'
@@ -25,18 +25,18 @@ inputs:
2525 required : false
2626 type : string
2727 ref :
28- default : ' main ' # '5357e18bc27b42a827b6780564ea873a72ca1f01'
28+ default : ' ' # the default branch
2929 description : ' The version, ref, or hash of awslabs/git-secrets to use'
3030 required : false
3131 type : string
3232 scan-type :
33- default : ' --scan-history '
33+ default : ' --scan'
3434 description : ' The type of scan'
3535 required : false
3636 type : choice
3737 options :
38- - ' --scan-history'
3938 - ' --scan'
39+ - ' --scan-history'
4040name : scan
4141runs :
4242 steps :
@@ -45,22 +45,12 @@ runs:
4545 # Setup environmental variables
4646 echo "GIT_SECRETS_REPOSITORY_PATH=$GITHUB_WORKSPACE/git-secrets-repository" >> "$GITHUB_ENV"
4747 shell : bash
48- - run : |
49- # DEBUG 1
50- echo $GIT_SECRETS_REPOSITORY_PATH;
51- shell: bash
5248 - name : Checkout awslabs/git-secrets
5349 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5450 with :
5551 repository : ' awslabs/git-secrets'
5652 ref : ${{ inputs.ref }}
5753 path : ${{ env.GIT_SECRETS_REPOSITORY_PATH }}
58- - run : |
59- # DEBUG 2
60- ls $GIT_SECRETS_REPOSITORY_PATH;
61- cd $GIT_SECRETS_REPOSITORY_PATH;
62- pwd
63- shell: bash
6454 - env :
6555 PREFIX : ${{ runner.temp }}/git-secrets-prefix
6656 MANPREFIX : ${{ runner.temp }}/git-secrets-manprefix
You can’t perform that action at this time.
0 commit comments