Skip to content

Commit c285b10

Browse files
default branch
1 parent 7ad8ca5 commit c285b10

1 file changed

Lines changed: 4 additions & 14 deletions

File tree

action.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# checkout: true
99
# fetch-depth: 0
1010
# ref: 'main'
11-
# scan-type: '--scan-history'
11+
# scan-type: '--scan'
1212
branding:
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'
4040
name: scan
4141
runs:
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

0 commit comments

Comments
 (0)