Skip to content

Bump org.springframework.boot:spring-boot-starter-web #3542

Bump org.springframework.boot:spring-boot-starter-web

Bump org.springframework.boot:spring-boot-starter-web #3542

name: Pull request helper
on:
push:
branches:
- 'dependabot/**/*'
jobs:
pull-request-helper:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
with:
cache-read-only: true
- name: Set git user
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Update license report
env:
NUMBER: ${{ github.event.issue.number }}
run: |
./gradlew generateLicenseReport
git add licenses
# there's always going to one line difference due to the timestamp included in the report
if [[ $(git diff --cached --shortstat licenses) == " 1 file changed, 1 insertion(+), 1 deletion(-)" ]]
then
git reset HEAD licenses
git checkout -- licenses
exit 0 # success
fi
git commit -m "./gradlew generateLicenseReport"
- name: Update lock files
env:
NUMBER: ${{ github.event.issue.number }}
run: |
./gradlew resolveAndLockAll --write-locks
git add "*.lockfile"
if git diff --cached --quiet; then
exit 0 # success
fi
git commit -m "./gradlew resolveAndLockAll --write-locks"
- name: Push
run: git push