File tree Expand file tree Collapse file tree 5 files changed +15
-15
lines changed Expand file tree Collapse file tree 5 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 88 build :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v4
11+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@ v4
1212 - name : Set up JDK 11
13- uses : actions/setup-java@v4
13+ uses : actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # pin@ v4
1414 with :
1515 distribution : ' temurin'
1616 java-version : ' 11'
Original file line number Diff line number Diff line change 99 build :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v4
12+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@ v4
1313 - name : Set up JDK 11
14- uses : actions/setup-java@v4
14+ uses : actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # pin@ v4
1515 with :
1616 distribution : ' temurin'
1717 java-version : ' 11'
Original file line number Diff line number Diff line change 88 build :
99 runs-on : ubuntu-latest
1010 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
1313 - name : Set up JDK 11
14- uses : actions/setup-java@v4
14+ uses : actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # pin@ v4
1515 with :
1616 distribution : ' temurin'
1717 java-version : ' 11'
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ name: Repolinter Action
66# Currently there is no elegant way to specify the default
77# branch in the event filtering, so branches are instead
88# filtered in the "Test Default Branch" step.
9- on : [push, workflow_dispatch]
9+ on : [ push, workflow_dispatch ]
1010
1111jobs :
1212 repolint :
@@ -15,17 +15,17 @@ jobs:
1515 steps :
1616 - name : Test Default Branch
1717 id : default-branch
18- uses : actions/github-script@v7
18+ uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # pin@ v7
1919 with :
2020 script : |
2121 const data = await github.rest.repos.get(context.repo)
2222 return data.data && data.data.default_branch === context.ref.split('/').slice(-1)[0]
2323 - name : Checkout Self
2424 if : ${{ steps.default-branch.outputs.result == 'true' }}
25- uses : actions/checkout@v4
25+ uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@ v4
2626 - name : Run Repolinter
2727 if : ${{ steps.default-branch.outputs.result == 'true' }}
28- uses : newrelic/repolinter-action@v1
28+ uses : newrelic/repolinter-action@3f4448f855c351e9695b24524a4111c7847b84cb # pin@ v1
2929 with :
3030 config_url : https://raw.githubusercontent.com/newrelic/.github/main/repolinter-rulesets/community-plus.yml
3131 output_type : issue
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ name: Snyk Vulnerability Scan
66on :
77 workflow_dispatch :
88 schedule :
9- - cron : ' 00 15 * * 1'
9+ - cron : ' 00 15 * * 1'
1010 push :
1111 branches :
1212 - main
@@ -16,12 +16,12 @@ jobs:
1616 runs-on : ubuntu-latest
1717 steps :
1818 - name : Checkout Code
19- uses : actions/checkout@v4
19+ uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@ v4
2020 with :
2121 ref : ' main'
22-
22+
2323 - name : Run Snyk To Check For Vulnerabilities
24- uses : snyk/actions/gradle-jdk11@master
24+ uses : snyk/actions/gradle-jdk11@8349f9043a8b7f0f3ee8885bf28f0b388d2446e8 # pin@ master
2525 env :
2626 SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
2727 with :
You can’t perform that action at this time.
0 commit comments