Skip to content

Commit c67309b

Browse files
authored
Merge pull request #2519 from ligangty/master
Add dependabot and update some github action versions
2 parents 7bdd2b3 + 4103125 commit c67309b

3 files changed

Lines changed: 28 additions & 7 deletions

File tree

.github/dependabot.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
version: 2
6+
updates:
7+
- package-ecosystem: "maven" # See documentation for possible values
8+
directory: "/" # Location of package manifests
9+
schedule:
10+
interval: "weekly"
11+
ignore:
12+
- dependency-name: "*"
13+
update-types:
14+
- "version-update:semver-major"
15+
- "version-update:semver-minor"
16+
17+
- package-ecosystem: "github-actions" # Also update Github actions
18+
directory: "/"
19+
schedule:
20+
# Check for updates to GitHub Actions every week
21+
interval: "weekly"

.github/workflows/maven-push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ jobs:
3030
SKIP_NPM_CONFIG: false
3131
NPMREGISTRY: https://registry.npmjs.org
3232
steps:
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@v6
3434

3535
- name: Set up JDK 11 for x64
36-
uses: actions/setup-java@v3
36+
uses: actions/setup-java@v5
3737
with:
3838
distribution: 'temurin'
3939
architecture: x64
4040
java-version: |
4141
11
4242
43-
- uses: s4u/maven-settings-action@v3.1.0
43+
- uses: s4u/maven-settings-action@v4.0.0
4444
with:
4545
servers: |
4646
[{
@@ -56,7 +56,7 @@ jobs:
5656
# run: mvn help:effective-settings -B -V -DskipTests=true -DskipNpmConfig=false deploy -e --global-toolchains .github/workflows/toolchains.xml
5757

5858
- name: Checkout tools repo
59-
uses: actions/checkout@v4
59+
uses: actions/checkout@v6
6060
with:
6161
repository: Commonjava/commonjava-images
6262
path: commonjava-images

.github/workflows/maven-verify.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@ jobs:
3131
SKIP_NPM_CONFIG: false
3232
NPMREGISTRY: https://registry.npmjs.org
3333
steps:
34-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@v6
3535

3636
- name: Set up JDK 11 for x64
37-
uses: actions/setup-java@v3
37+
uses: actions/setup-java@v5
3838
with:
3939
distribution: 'temurin'
4040
architecture: x64
4141
java-version: |
4242
11
4343
44-
- uses: s4u/maven-settings-action@v2.8.0
44+
- uses: s4u/maven-settings-action@v4.0.0
4545
with:
4646
sonatypeSnapshots: true
4747

0 commit comments

Comments
 (0)