Skip to content

Bump io.github.git-commit-id:git-commit-id-maven-plugin from 9.0.2 to 9.1.0 in the dev-deps group #2

Bump io.github.git-commit-id:git-commit-id-maven-plugin from 9.0.2 to 9.1.0 in the dev-deps group

Bump io.github.git-commit-id:git-commit-id-maven-plugin from 9.0.2 to 9.1.0 in the dev-deps group #2

Workflow file for this run

name: Auto-merge PRs
on:
pull_request_target:
types: [opened, reopened, synchronize, ready_for_review]
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
name: Auto-merge Dependabot PRs
runs-on: ubuntu-latest
# Only run for Dependabot PRs
if: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: ${{ secrets.SKUNKWORKS_RABOT_PAT }}
- name: Approve PR
if: ${{ github.event.pull_request.draft == false }}
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.SKUNKWORKS_RABOT_PAT }}
- name: Enable auto-merge (rebase)
if: >-
${{ github.event.pull_request.draft == false &&
(steps.metadata.outputs.update-type == 'version-update:semver-patch' ||
steps.metadata.outputs.update-type == 'version-update:semver-minor' ||
steps.metadata.outputs.update-type == 'version-update:semver-major') }}
run: gh pr merge --auto --rebase "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.SKUNKWORKS_RABOT_PAT }}