Skip to content

Remove unnecessary hardcoding of ref #5452

Remove unnecessary hardcoding of ref

Remove unnecessary hardcoding of ref #5452

name: Dependabot auto-merge
on: pull_request_target
permissions:
pull-requests: write
contents: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Auto-merge
run: gh pr merge --auto --merge "${{ github.event.pull_request.html_url }}"
env:
# Enable the automerge using a PAT so the merge commits trigger workflows
GITHUB_TOKEN: ${{ secrets.DEPENDABOT_AUTOBUILD }}