Skip to content

Commit

Permalink
Merge pull request #173 from ashleycaselli/master
Browse files Browse the repository at this point in the history
chore: enhanced maintenance (GH workflow and dependency automation)
  • Loading branch information
ashleycaselli authored Apr 17, 2024
2 parents 5da850d + 10a2022 commit 414d33a
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/maven-test-pr.yml
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
39 changes: 39 additions & 0 deletions renovate.json
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"
}
]
}

0 comments on commit 414d33a

Please sign in to comment.