This repository has been archived by the owner on Dec 9, 2023. It is now read-only.
Bump actions/checkout from 3 to 4 #66
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: automerge | |
on: | |
# We're using pull_request_target instead of pull_request due to permission issues with the pull_request target: | |
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#responding-to-events | |
pull_request_target: | |
jobs: | |
automerge: | |
name: Dependabot auto-merge | |
runs-on: ubuntu-22.04 | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
steps: | |
- name: Enable automerge | |
shell: bash | |
run: gh pr merge -R "${{ github.repository }}" --squash --auto "${{ github.event.pull_request.number }}" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |