154c51fa50
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
31 lines
737 B
YAML
31 lines
737 B
YAML
name: Merge Dependabot PR
|
|
|
|
on: pull_request_target
|
|
|
|
run-name: Merge Dependabot PR ${{ github.ref_name }}
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
contents: write
|
|
|
|
jobs:
|
|
merge-dependabot-pr:
|
|
runs-on: ubuntu-latest
|
|
if: github.event.pull_request.user.login == 'dependabot[bot]'
|
|
steps:
|
|
|
|
- uses: actions/checkout@v7
|
|
with:
|
|
show-progress: false
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
|
|
- uses: actions/setup-java@v5
|
|
with:
|
|
distribution: temurin
|
|
java-version: 17
|
|
|
|
- name: Merge Dependabot pull request
|
|
run: gh pr merge ${{ github.event.pull_request.number }} --auto --rebase
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
|