Skip to content

Commit 4ec8095

Browse files
committed
Lock Github Actions & manage with dependabot
(cherry picked from commit 7c730e5)
1 parent 375d513 commit 4ec8095

File tree

4 files changed

+36
-8
lines changed

4 files changed

+36
-8
lines changed

.github/dependabot.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: "/"
5+
schedule:
6+
interval: monthly
7+
groups:
8+
actions-deps:
9+
patterns: [ "*" ]
10+
- package-ecosystem: maven
11+
directory: "/"
12+
schedule:
13+
interval: monthly
14+
groups:
15+
maven-deps:
16+
dependency-type: "production"
17+
maven-dev-deps:
18+
dependency-type: "development"
19+
- package-ecosystem: bundler
20+
directories:
21+
- "/"
22+
schedule:
23+
interval: monthly
24+
allow:
25+
- dependency-type: all
26+
groups:
27+
ruby-deps:
28+
patterns: [ "*" ]

.github/workflows/maven.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
fail-fast: false
2626

2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2929

3030
- name: Set up JDK
31-
uses: actions/setup-java@v4
31+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
3232
with:
3333
java-version: ${{ matrix.java_version }}
3434
distribution: 'temurin'
@@ -39,7 +39,7 @@ jobs:
3939

4040
# Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
4141
- name: Update dependency graph
42-
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
42+
uses: advanced-security/maven-dependency-submission-action@aeab9f885293af501bae8bdfe88c589528ea5e25 # v4.1.2
4343
if: github.head_ref == 'refs/heads/master' && matrix.java_version == '8' && startsWith(matrix.jruby_version, '9.4')
4444

4545
appraisals:
@@ -98,17 +98,17 @@ jobs:
9898
fail-fast: false
9999

100100
steps:
101-
- uses: actions/checkout@v4
101+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
102102

103103
- name: Set up JDK
104-
uses: actions/setup-java@v4
104+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
105105
with:
106106
java-version: ${{ matrix.java_version }}
107107
distribution: 'temurin'
108108
cache: maven
109109

110110
- name: Setup JRuby
111-
uses: ruby/setup-ruby@v1
111+
uses: ruby/setup-ruby@ca041f971d66735f3e5ff1e21cc13e2d51e7e535 # v1.233.0
112112
with:
113113
ruby-version: jruby-${{ matrix.jruby_version }}
114114
bundler: 2.3.27 # use version that is OK for JRuby 9.3

Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ GEM
55
bundler
66
rake
77
thor (>= 0.14.0)
8-
diff-lcs (1.6.0)
8+
diff-lcs (1.6.1)
99
rack (2.2.13)
1010
rake (13.2.1)
1111
rspec (3.13.0)

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
<plugin>
220220
<groupId>org.apache.maven.plugins</groupId>
221221
<artifactId>maven-surefire-plugin</artifactId>
222-
<version>3.5.2</version>
222+
<version>3.5.3</version>
223223
</plugin>
224224
<plugin>
225225
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)