Skip to content

ci(commitlint): add path to config #24

ci(commitlint): add path to config

ci(commitlint): add path to config #24

name: Auto Merge Dependabot Pull Request
on:
pull_request_target:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
auto-merge-dependabot-pull-request:
name: Auto Merge Dependabot Pull Request
if: ${{ github.actor == 'dependabot[bot]' }}
runs-on: ubuntu-latest
timeout-minutes: 10
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Dependabot Metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Approve
run: gh pr review --approve $PR_URL
- name: Merge
run: gh pr merge --auto --merge --squash $PR_URL