This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
build(devDep): bump eslint from 8.54.0 to 8.55.0 #59
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 | |
# description: Automerge dependabot pull requests | |
# | |
# auto merge Dependabot pull requests | |
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#enable-auto-merge-on-a-pull-request | |
jobs: | |
automerge-pr: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
contents: write | |
if: | | |
github.actor == 'dependabot[bot]' && | |
( | |
startsWith(github.event.pull_request.title, 'build(deps):') || | |
startsWith(github.event.pull_request.title, 'build(devDep):') || | |
startsWith(github.event.pull_request.title, 'ci(github-action):') || | |
startsWith(github.event.pull_request.title, 'ci(docker):') | |
) | |
steps: | |
- name: Dependabot metadata | |
id: metadata | |
uses: dependabot/[email protected] | |
with: | |
github-token: '${{ secrets.GITHUB_TOKEN }}' | |
# make sure to enable 'auto-merge' in the repo | |
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-auto-merge-for-pull-requests-in-your-repository | |
- name: Enable auto-merge for Dependabot PRs | |
run: gh pr merge --auto --rebase "$PR_URL" | |
env: | |
PR_URL: ${{github.event.pull_request.html_url}} | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |