Bump com.puppycrawl.tools:checkstyle from 10.18.0 to 10.18.1 #88
Workflow file for this run
This file contains 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: 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 }} |