chore(deps): bump actions/checkout from 4.2.0 to 4.2.1 in the patch group #113
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
--- | |
# This file is sync'd from https://github.com/hutchic-org/template-template | |
# Do not edit this file from anywhere else but that repository it will be overwritten | |
name: Auto Actions | |
on: pull_request_target # yamllint disable-line rule:truthy | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
dependabot-automerge: | |
runs-on: ubuntu-latest | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
steps: | |
- name: Gather Dependabot metadata | |
id: metadata | |
uses: dependabot/fetch-metadata@v2.2.0 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Approve PR | |
run: gh pr review --approve "$PR_URL" | |
env: | |
PR_URL: ${{github.event.pull_request.html_url}} | |
GITHUB_TOKEN: ${{secrets.AUTO_MERGE_TOKEN}} | |
- name: Enable auto-merge | |
run: gh pr merge --auto --squash "$PR_URL" | |
env: | |
PR_URL: ${{github.event.pull_request.html_url}} | |
GITHUB_TOKEN: ${{secrets.AUTO_MERGE_TOKEN}} |