File tree Expand file tree Collapse file tree 4 files changed +7
-40
lines changed Expand file tree Collapse file tree 4 files changed +7
-40
lines changed Original file line number Diff line number Diff line change 38
38
39
39
build :
40
40
if : github.actor != 'dependabot[bot]'
41
- uses : apache/logging-parent/.github/workflows/build-reusable.yaml@e45457c683302242be5e8e7c3c33edf8f0e0ec0e # 10.4 .0
41
+ uses : apache/logging-parent/.github/workflows/build-reusable.yaml@rel/ 10.5 .0
42
42
with :
43
43
java-version : |
44
44
8
48
48
deploy-snapshot :
49
49
needs : build
50
50
if : github.repository == 'apache/logging-log4j2' && github.ref_name == '2.x'
51
- uses : apache/logging-parent/.github/workflows/deploy-snapshot-reusable.yaml@e45457c683302242be5e8e7c3c33edf8f0e0ec0e # 10.4 .0
51
+ uses : apache/logging-parent/.github/workflows/deploy-snapshot-reusable.yaml@rel/ 10.5 .0
52
52
# Secrets for deployments
53
53
secrets :
54
54
NEXUS_USER : ${{ secrets.NEXUS_USER }}
61
61
deploy-release :
62
62
needs : build
63
63
if : github.repository == 'apache/logging-log4j2' && startsWith(github.ref_name, 'release/')
64
- uses : apache/logging-parent/.github/workflows/deploy-release-reusable.yaml@e45457c683302242be5e8e7c3c33edf8f0e0ec0e # 10.4 .0
64
+ uses : apache/logging-parent/.github/workflows/deploy-release-reusable.yaml@rel/ 10.5 .0
65
65
# Secrets for deployments
66
66
secrets :
67
67
GPG_SECRET_KEY : ${{ secrets.LOGGING_GPG_SECRET_KEY }}
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ permissions: read-all
30
30
jobs :
31
31
32
32
analyze :
33
- uses : apache/logging-parent/.github/workflows/codeql-analysis-reusable.yaml@e45457c683302242be5e8e7c3c33edf8f0e0ec0e # 10.4 .0
33
+ uses : apache/logging-parent/.github/workflows/codeql-analysis-reusable.yaml@rel/ 10.5 .0
34
34
with :
35
35
java-version : |
36
36
8
Original file line number Diff line number Diff line change @@ -30,15 +30,15 @@ jobs:
30
30
31
31
build :
32
32
if : github.repository == 'apache/logging-log4j2' && github.event_name == 'pull_request_target' && github.actor == 'dependabot[bot]'
33
- uses : apache/logging-parent/.github/workflows/build-reusable.yaml@e45457c683302242be5e8e7c3c33edf8f0e0ec0e # 10.4 .0
33
+ uses : apache/logging-parent/.github/workflows/build-reusable.yaml@ref/ 10.5 .0
34
34
with :
35
35
java-version : |
36
36
8
37
37
17
38
38
39
39
merge-dependabot :
40
40
needs : build
41
- uses : apache/logging-parent/.github/workflows/merge-dependabot-reusable.yaml@e45457c683302242be5e8e7c3c33edf8f0e0ec0e # 10.4 .0
41
+ uses : apache/logging-parent/.github/workflows/merge-dependabot-reusable.yaml@rel/ 10.5 .0
42
42
with :
43
43
java-version : 17
44
44
permissions :
Original file line number Diff line number Diff line change @@ -29,43 +29,10 @@ permissions: read-all
29
29
jobs :
30
30
31
31
analysis :
32
-
33
- name : " Scorecards analysis"
34
- runs-on : ubuntu-latest
32
+ uses : apache/logging-parent/.github/workflows/scorecards-analysis-reusable.yaml@rel/10.5.0
35
33
permissions :
36
34
# Needed to upload the results to the code-scanning dashboard.
37
35
security-events : write
38
36
actions : read
39
37
id-token : write # This is required for requesting the JWT
40
38
contents : read # This is required for actions/checkout
41
-
42
- steps :
43
-
44
- - name : " Checkout code"
45
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 4.1.1
46
- with :
47
- persist-credentials : false
48
-
49
- - name : " Run analysis"
50
- uses : ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # 2.3.1
51
- with :
52
- results_file : results.sarif
53
- results_format : sarif
54
- # A read-only PAT token, which is sufficient for the action to function.
55
- # The relevant discussion: https://github.com/ossf/scorecard-action/issues/188
56
- repo_token : ${{ secrets.GITHUB_TOKEN }}
57
- # Publish the results for public repositories to enable scorecard badges.
58
- # For more details: https://github.com/ossf/scorecard-action#publishing-results
59
- publish_results : true
60
-
61
- - name : " Upload artifact"
62
- uses : actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # 3.1.0
63
- with :
64
- name : SARIF file
65
- path : results.sarif
66
- retention-days : 5
67
-
68
- - name : " Upload to code-scanning"
69
- uses : github/codeql-action/upload-sarif@b374143c1149a9115d881581d29b8390bbcbb59c # 2.1.22
70
- with :
71
- sarif_file : results.sarif
You can’t perform that action at this time.
0 commit comments