Skip to content

Bump org.apache.maven.plugins:maven-project-info-reports-plugin from 3.6.2 to 3.7.0 #81

Bump org.apache.maven.plugins:maven-project-info-reports-plugin from 3.6.2 to 3.7.0

Bump org.apache.maven.plugins:maven-project-info-reports-plugin from 3.6.2 to 3.7.0 #81

name: Dependabot automerge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
dependabot-automerge:
runs-on: ubuntu-latest
name: Dependabot automerge
if: github.actor == 'dependabot[bot]'
steps:
- uses: actions/checkout@v4
name: Checkout dependabot-automerge repository
with:
repository: hazelcast/dependabot-automerge
- uses: actions/checkout@v4
name: Checkout workflows directory from ${{ github.repository }} repository
with:
sparse-checkout: .github/workflows
ref: ${{ github.event.repository.default_branch }}
path: repository
- name: Fetch dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: "${{ secrets.GH_PAT_FOR_AUTOMERGING }}"
- name: Enable automerge for dependabot PRs
run: |
PR_URL="${{ github.event.pull_request.html_url }}"
DEPENDENCY_NAMES="${{ steps.metadata.outputs.dependency-names }}"
UPDATE_TYPE="${{ steps.metadata.outputs.update-type }}"
.github/workflows/dependabot-automerge.sh "$PR_URL" "$DEPENDENCY_NAMES" "$UPDATE_TYPE"
env:
GH_TOKEN: ${{ secrets.GH_PAT_FOR_AUTOMERGING }}
- uses: 8398a7/action-slack@v3
if: failure()
with:
fields: repo,message,author,action,eventName,workflow,job,pullRequest
status: ${{ job.status }}
channel: "#dependabot-notifications"
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_FOR_AUTOMERGING }}