Skip to content

Chore: update dependency eslint-plugin-unicorn to v66 #3589

Chore: update dependency eslint-plugin-unicorn to v66

Chore: update dependency eslint-plugin-unicorn to v66 #3589

name: Dependabot Automerge
on:
pull_request:
types:
# - edited # PR's base branch was changed
- opened
- reopened
- synchronize # PR's branch was edited (i.e. new commits)
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
# Require a valid PR title before enabling auto-merging
pr-renamer:
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
permissions:
contents: read # pr-renamer.yml
pull-requests: write # pr-renamer.yml (gh pr edit)
uses: ./.github/workflows/pr-renamer.yml
dependabot-automerge:
needs:
- pr-renamer
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
permissions:
contents: write # gh pr merge
repository-projects: read # gh pr merge
pull-requests: write # gh pr merge
runs-on: ubuntu-latest
steps:
- run: gh pr merge "${{ github.event.pull_request.number }}" --squash --auto
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}