File tree Expand file tree Collapse file tree 20 files changed +692
-201
lines changed Expand file tree Collapse file tree 20 files changed +692
-201
lines changed Original file line number Diff line number Diff line change 16
16
if : github.event_name == 'pull_request'
17
17
steps :
18
18
- name : Harden GitHub runner
19
- uses : step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
19
+ uses : step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
20
20
with :
21
21
egress-policy : audit
22
22
Original file line number Diff line number Diff line change 15
15
if : github.event_name == 'pull_request'
16
16
steps :
17
17
- name : Harden GitHub runner
18
- uses : step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
18
+ uses : step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
19
19
with :
20
20
egress-policy : audit
21
21
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- name : Harden GitHub runner
18
- uses : step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
18
+ uses : step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
19
19
with :
20
20
egress-policy : audit
21
21
35
35
./scripts/generatemock.sh
36
36
37
37
- name : golangci-Lint analysis
38
- uses : golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
38
+ uses : golangci/golangci-lint-action@ec5d18412c0aeab7936cb16880d708ba2a64e1ae # v6.2.0
39
39
with :
40
40
skip-cache : true
41
41
skip-save-cache : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 16
16
runs-on : ubuntu-latest
17
17
steps :
18
18
- name : Harden GitHub runner
19
- uses : step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
19
+ uses : step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
20
20
with :
21
21
egress-policy : audit
22
22
Original file line number Diff line number Diff line change 21
21
security-events : write
22
22
steps :
23
23
- name : Harden GitHub runner
24
- uses : step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
24
+ uses : step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
25
25
with :
26
26
egress-policy : audit
27
27
36
36
37
37
- name : Archive MegaLinter artifacts
38
38
if : always()
39
- uses : actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5 .0
39
+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6 .0
40
40
with :
41
41
name : MegaLinter reports
42
42
path : |
45
45
46
46
- name : Upload MegaLinter scan results to GitHub Security tab
47
47
if : success() || failure()
48
- uses : github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
48
+ uses : github/codeql-action/upload-sarif@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1
49
49
with :
50
50
sarif_file : " megalinter-reports/megalinter-report.sarif"
Original file line number Diff line number Diff line change 12
12
# Weekly on Saturdays.
13
13
- cron : " 30 1 * * 6"
14
14
15
- permissions : read-all
15
+ permissions :
16
+ contents : read
16
17
17
18
jobs :
18
19
analysis :
19
20
name : Scorecard analysis
20
21
runs-on : ubuntu-latest
21
22
permissions :
23
+ contents : read
22
24
# Needed for Code scanning upload
23
25
security-events : write
24
26
# Needed for GitHub OIDC token if publish_results is true
25
27
id-token : write
26
28
27
29
steps :
28
30
- name : Harden GitHub runner
29
- uses : step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
31
+ uses : step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
30
32
with :
31
33
egress-policy : audit
32
34
51
53
# uploads of run results in SARIF format to the repository Actions tab.
52
54
# https://docs.github.com/en/actions/advanced-guides/storing-workflow-data-as-artifacts
53
55
- name : " Upload artifact"
54
- uses : actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5 .0
56
+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6 .0
55
57
with :
56
58
name : SARIF file
57
59
path : results.sarif
60
62
# Upload the results to GitHub's code scanning dashboard (optional).
61
63
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
62
64
- name : " Upload to code-scanning"
63
- uses : github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
65
+ uses : github/codeql-action/upload-sarif@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1
64
66
with :
65
67
sarif_file : results.sarif
Original file line number Diff line number Diff line change 3
3
# SPDX-License-Identifier: CC0-1.0
4
4
5
5
---
6
- name : Git Provider Sync Workflow
6
+ name : Pull Request Workflow
7
7
8
8
on :
9
9
push :
10
10
branches :
11
11
- main
12
- # tags:
13
- # - v[0-9]+.[0-9]+.[0-9]+
14
12
pull_request :
15
13
branches :
16
14
- main
@@ -20,20 +18,12 @@ permissions:
20
18
21
19
jobs :
22
20
commitlint :
23
- permissions :
24
- contents : read
25
21
uses : ./.github/workflows/commitlint.yml
26
22
dependencyreviewlint :
27
- permissions :
28
- contents : read
29
23
uses : ./.github/workflows/dependencyreview.yml
30
24
licenselint :
31
- permissions :
32
- contents : read
33
25
uses : ./.github/workflows/licenselint.yml
34
26
golint :
35
- permissions :
36
- contents : read
37
27
uses : ./.github/workflows/golint.yml
38
28
misclint :
39
29
permissions :
You can’t perform that action at this time.
0 commit comments