Skip to content

chore(deps-dev): bump @commitlint/cli from 19.5.0 to 19.6.0 #4596

chore(deps-dev): bump @commitlint/cli from 19.5.0 to 19.6.0

chore(deps-dev): bump @commitlint/cli from 19.5.0 to 19.6.0 #4596

Workflow file for this run

name: Merge me!
on:
pull_request_target:
jobs:
merge-me:
name: Merge me!
runs-on: ubuntu-latest
# Checking the actor will prevent your Action run failing on non-Dependabot
# PRs but also ensures that it only does work for Dependabot PRs.
if: github.actor == 'dependabot[bot]'
steps:
- name: 'Wait for status checks'
id: waitforstatuschecks
uses: WyriHaximus/[email protected]
with:
ignoreActions: Merge me!
checkInterval: 13
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# This first step will fail if there's no metadata and so the approval
# will not occur.
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
# Here the PR gets approved.
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.MERGE_ME_GITHUB_TOKEN }}
# Finally, tell dependabot to merge the PR if all checks are successful
- name: Instruct dependabot to squash & merge
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
uses: mshick/add-pr-comment@v2
with:
repo-token: ${{ secrets.MERGE_ME_GITHUB_TOKEN }}
allow-repeats: true
message: |
@dependabot squash and merge
env:
GITHUB_TOKEN: ${{ secrets.MERGE_ME_GITHUB_TOKEN }}