build(deps): bump org.apache.maven:apache-maven from 3.9.16 to 3.10.0 #500
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Auto-merge Dependabot PRs | ||
|
Check warning on line 1 in .github/workflows/auto-merge-dependabot.yml
|
||
| on: pull_request_target | ||
| permissions: | ||
| pull-requests: write | ||
| contents: write | ||
| jobs: | ||
| merge-dependabot-pr: | ||
| runs-on: ubuntu-22.04 | ||
| if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }} | ||
| steps: | ||
| - name: Fetch Dependabot metadata | ||
| id: dependabot-metadata | ||
| uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0 | ||
| - name: Enable auto-merge for minor updates | ||
| if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }} | ||
| env: | ||
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| run: | | ||
| gh pr review --approve ${{ github.event.pull_request.html_url }} | ||
| gh pr merge --auto --squash ${{ github.event.pull_request.html_url }} | ||