File tree Expand file tree Collapse file tree 4 files changed +84
-5
lines changed
Expand file tree Collapse file tree 4 files changed +84
-5
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,7 @@ categories:
2222 labels :
2323 - documentation
2424
25- change-template : |
26- - (#$NUMBER) $TITLE by @$AUTHOR
25+ change-template : " - (#$NUMBER) $TITLE by @$AUTHOR"
2726
2827no-changes-template : ' No significant changes'
2928
Original file line number Diff line number Diff line change 44 issue_comment :
55 types : [created]
66 pull_request_target :
7- types : [opened, closed, synchronize ]
7+ types : [opened]
88
99permissions :
1010 contents : read
2121 steps :
2222 - name : " CLA Assistant"
2323 if : (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
24- uses : contributor-assistant/github-action@v2.6.1
24+ uses : contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 # v2.6.1
2525 env :
2626 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2727 PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_ACCESS_TOKEN }}
Original file line number Diff line number Diff line change @@ -13,10 +13,31 @@ jobs:
1313 steps :
1414 - uses : actions/checkout@v4
1515
16+ - name : Restore lychee cache
17+ uses : actions/cache@v4
18+ id : restore-cache
19+ with :
20+ path : .lycheecache
21+ key : cache-lychee-${{ github.sha }}
22+ restore-keys : cache-lychee-
23+
1624 - name : Link Checker
1725 id : lychee
1826 uses : lycheeverse/lychee-action@v2
1927 with :
20- args : --base . --verbose --no-progress './**/*.md' --accept 100..=103,200..=299,429
28+ args : >-
29+ './**/*.md'
30+ --verbose
31+ --no-progress
32+ --user-agent 'Mozilla/5.0 (X11; Linux x86_64) Chrome/134.0.0.0'
33+ --retry-wait-time 60
34+ --max-retries 8
35+ --accept 100..=103,200..=299,429
36+ --cookie-jar cookies.json
37+ --exclude-all-private
38+ --max-concurrency 4
39+ --cache
40+ --cache-exclude-status '429, 500..502'
41+ --max-cache-age 1d
2142 format : markdown
2243 fail : true
Original file line number Diff line number Diff line change 1+ name : Security Scan
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ target :
6+ description : " Scan part"
7+ required : true
8+ default : " docker"
9+ type : choice
10+ options :
11+ - docker
12+ - source
13+ image :
14+ description : " Docker image (for 'docker' target). By default ghcr.io/<owner>/<repo>:latest"
15+ required : false
16+ default : " "
17+ only-high-critical :
18+ description : " Scan only HIGH + CRITICAL"
19+ required : false
20+ default : true
21+ type : boolean
22+ trivy-scan :
23+ description : " Run Trivy scan"
24+ required : false
25+ default : true
26+ type : boolean
27+ grype-scan :
28+ description : " Run Grype scan"
29+ required : false
30+ default : true
31+ type : boolean
32+ continue-on-error :
33+ description : " Continue on error"
34+ required : false
35+ default : true
36+ type : boolean
37+ only-fixed :
38+ description : " Show only fixable vulnerabilities"
39+ required : false
40+ default : true
41+ type : boolean
42+
43+ permissions :
44+ contents : read
45+ security-events : write
46+ actions : read
47+ packages : read
48+
49+ jobs :
50+ security-scan :
51+ uses : netcracker/qubership-workflow-hub/.github/workflows/re-security-scan.yml@main
52+ with :
53+ target : ${{ github.event.inputs.target || 'source' }}
54+ image : ${{ github.event.inputs.image || '' }}
55+ only-high-critical : ${{ inputs.only-high-critical}}
56+ trivy-scan : ${{ inputs.trivy-scan }}
57+ grype-scan : ${{ inputs.grype-scan }}
58+ only-fixed : ${{ inputs.only-fixed }}
59+ continue-on-error : ${{ inputs.continue-on-error }}
You can’t perform that action at this time.
0 commit comments