build(deps): bump @tanstack/react-query from 5.66.5 to 5.66.7 #2257
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: | |
branches-ignore: | |
- 'main' | |
# 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 | |
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#running-your-pull_request-workflow-based-on-the-head-or-base-branch-of-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/fetch-metadata@v2.3.0 | |
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}} |