Skip to content

Bump io.spring.dependency-management from 1.1.5 to 1.1.6 in /backend #286

Bump io.spring.dependency-management from 1.1.5 to 1.1.6 in /backend

Bump io.spring.dependency-management from 1.1.5 to 1.1.6 in /backend #286

name: Dependabot Gradle Helper
on:
pull_request_target:
paths:
- backend/build.gradle
env:
JAVA_VERSION: 17
JAVA_DISTRIBUTION: 'zulu'
defaults:
run:
working-directory: backend
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-dependabot-gradle-helper
cancel-in-progress: true
jobs:
update_locks:
# Run when manually requested or when dependabot creates/updates a PR
if: github.event.pull_request.user.login == 'dependabot[bot]'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.head_ref }}
fetch-depth: 0 # Disable shallow clones: we need to be able to push
- name: Set up JDK ${{env.JAVA_VERSION}}
uses: actions/setup-java@v4
with:
java-version: ${{env.JAVA_VERSION}}
distribution: ${{env.JAVA_DISTRIBUTION}}
- name: Get last commit message
id: last-commit-message
run: echo "msg=$(git log -1 --pretty=%s)" >> $GITHUB_OUTPUT
- name: Update dependency locks
run: ./gradlew dependencies --write-locks
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: ${{ steps.last-commit-message.outputs.msg }}
commit_options: '--amend --no-edit'
push_options: '--force'
skip_fetch: true