Skip to content

Commit

Permalink
fix: fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rvullriede committed Nov 13, 2024
1 parent 626cd54 commit 3dba6e7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-release-on-main-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: setup-jdk
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: 'temurin'
cache: maven
server-id: ossrh
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/dependabot-pr-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ name: dependabot-pr-auto-merge

on: pull_request

permissions:
contents: write
pull-requests: write

jobs:
dependabot-pr-auto-merge:
runs-on: ubuntu-latest

permissions:
contents: write
pull-requests: write

if: github.actor == 'dependabot[bot]'
steps:
- name: dependabot-pr-fetch-metadata
Expand All @@ -19,8 +20,10 @@ jobs:
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: dependabot-pr-auto-merge
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
8 changes: 3 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>net.osslabz</groupId>
Expand Down Expand Up @@ -252,12 +253,9 @@
</build>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<name>Maven Central</name>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
Expand Down

0 comments on commit 3dba6e7

Please sign in to comment.