Commit e720887 1 parent e1fc6a4 commit e720887 Copy full SHA for e720887
File tree 3 files changed +13
-1
lines changed
3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 9
9
rev : v3.1.0
10
10
hooks :
11
11
- id : prettier
12
- stages : [commit]
12
+ stages : [pre- commit]
13
13
- repo : https://github.com/pre-commit/pre-commit-hooks
14
14
rev : v5.0.0 # Use the ref you want to point at
15
15
hooks :
Original file line number Diff line number Diff line change @@ -13,6 +13,12 @@ GitHub Action for scanning container images for vulnerabilities using Lacework.
13
13
``` yaml
14
14
- uses : @
15
15
with :
16
+ skip-checkout :
17
+ # Skip repository checkout in this step
18
+ #
19
+ # Required: false
20
+ # Default: false
21
+
16
22
dockerhub-user :
17
23
# DockerHub username
18
24
#
Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ description: >
3
3
GitHub Action for scanning container images for vulnerabilities using Lacework.
4
4
5
5
inputs :
6
+ skip-checkout :
7
+ required : false
8
+ default : " false"
9
+ description : Skip repository checkout in this step
10
+
6
11
dockerhub-user :
7
12
required : false
8
13
default : " "
42
47
using : composite
43
48
steps :
44
49
- name : Checkout Repository
50
+ if : ${{ inputs.skip-checkout != 'true' }}
45
51
uses : actions/checkout@v4
46
52
47
53
- name : Build Docker Image
You can’t perform that action at this time.
0 commit comments