-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #173 from ashleycaselli/master
chore: enhanced maintenance (GH workflow and dependency automation)
- Loading branch information
Showing
2 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Maven Test | ||
|
||
on: | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | ||
- name: Set up JDK | ||
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1 | ||
with: | ||
java-version: "11" | ||
distribution: "temurin" | ||
|
||
- name: Test with Maven | ||
run: mvn -B test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"local>ashleycaselli/renovate-config" | ||
], | ||
"automerge": false, | ||
"packageRules": [ | ||
{ | ||
"description": "Updates to the parent dependencies should trigger a new patch release", | ||
"matchPaths": [ | ||
"pom.xml" | ||
], | ||
"semanticCommitType": "chore", | ||
"semanticCommitScope": "core-deps" | ||
}, | ||
{ | ||
"description": "Updates to the dependencies under the build settings element should not trigger any release", | ||
"matchPaths": [ | ||
"pom.xml" | ||
], | ||
"matchDepTypes": [ | ||
"build" | ||
], | ||
"semanticCommitType": "build", | ||
"semanticCommitScope": "deps" | ||
}, | ||
{ | ||
"description": "Updates to the dependencies with scope 'test' should be tagged as 'test(deps)'", | ||
"matchPaths": [ | ||
"pom.xml" | ||
], | ||
"matchDepTypes": [ | ||
"test" | ||
], | ||
"semanticCommitType": "test", | ||
"semanticCommitScope": "deps" | ||
} | ||
] | ||
} |