File tree 5 files changed +15
-15
lines changed
5 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 8
8
build :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v4
11
+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@ v4
12
12
- name : Set up JDK 11
13
- uses : actions/setup-java@v4
13
+ uses : actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # pin@ v4
14
14
with :
15
15
distribution : ' temurin'
16
16
java-version : ' 11'
Original file line number Diff line number Diff line change 9
9
build :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v4
12
+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@ v4
13
13
- name : Set up JDK 11
14
- uses : actions/setup-java@v4
14
+ uses : actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # pin@ v4
15
15
with :
16
16
distribution : ' temurin'
17
17
java-version : ' 11'
Original file line number Diff line number Diff line change 8
8
build :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v4
12
- - uses : gradle/wrapper-validation-action@v1
11
+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@ v4
12
+ - uses : gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # pin@ v1
13
13
- name : Set up JDK 11
14
- uses : actions/setup-java@v4
14
+ uses : actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # pin@ v4
15
15
with :
16
16
distribution : ' temurin'
17
17
java-version : ' 11'
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ name: Repolinter Action
6
6
# Currently there is no elegant way to specify the default
7
7
# branch in the event filtering, so branches are instead
8
8
# filtered in the "Test Default Branch" step.
9
- on : [push, workflow_dispatch]
9
+ on : [ push, workflow_dispatch ]
10
10
11
11
jobs :
12
12
repolint :
@@ -15,17 +15,17 @@ jobs:
15
15
steps :
16
16
- name : Test Default Branch
17
17
id : default-branch
18
- uses : actions/github-script@v7
18
+ uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # pin@ v7
19
19
with :
20
20
script : |
21
21
const data = await github.rest.repos.get(context.repo)
22
22
return data.data && data.data.default_branch === context.ref.split('/').slice(-1)[0]
23
23
- name : Checkout Self
24
24
if : ${{ steps.default-branch.outputs.result == 'true' }}
25
- uses : actions/checkout@v4
25
+ uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@ v4
26
26
- name : Run Repolinter
27
27
if : ${{ steps.default-branch.outputs.result == 'true' }}
28
- uses : newrelic/repolinter-action@v1
28
+ uses : newrelic/repolinter-action@3f4448f855c351e9695b24524a4111c7847b84cb # pin@ v1
29
29
with :
30
30
config_url : https://raw.githubusercontent.com/newrelic/.github/main/repolinter-rulesets/community-plus.yml
31
31
output_type : issue
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ name: Snyk Vulnerability Scan
6
6
on :
7
7
workflow_dispatch :
8
8
schedule :
9
- - cron : ' 00 15 * * 1'
9
+ - cron : ' 00 15 * * 1'
10
10
push :
11
11
branches :
12
12
- main
@@ -16,12 +16,12 @@ jobs:
16
16
runs-on : ubuntu-latest
17
17
steps :
18
18
- name : Checkout Code
19
- uses : actions/checkout@v4
19
+ uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@ v4
20
20
with :
21
21
ref : ' main'
22
-
22
+
23
23
- name : Run Snyk To Check For Vulnerabilities
24
- uses : snyk/actions/gradle-jdk11@master
24
+ uses : snyk/actions/gradle-jdk11@8349f9043a8b7f0f3ee8885bf28f0b388d2446e8 # pin@ master
25
25
env :
26
26
SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
27
27
with :
You can’t perform that action at this time.
0 commit comments