Skip to content

Bump DavidAnson/markdownlint-cli2-action from 18 to 19 #4

Bump DavidAnson/markdownlint-cli2-action from 18 to 19

Bump DavidAnson/markdownlint-cli2-action from 18 to 19 #4

Workflow file for this run

name: Pre-commit Auto Approve & Merge
on: pull_request
permissions:
pull-requests: write
contents: write
jobs:
pre-commit:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'pre-commit-ci[bot]'
steps:
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}