Skip to content

chore: add documentation to publish on github pages #4

chore: add documentation to publish on github pages

chore: add documentation to publish on github pages #4

name: Dependabot Auto Merge
on:
pull_request_target:
types:
- opened
- reopened
- synchronize
permissions:
contents: write
pull-requests: write
concurrency:
group: dependabot-auto-merge-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
auto-approve-and-merge:
if: github.event.pull_request.user.login == 'dependabot[bot]'
runs-on: ubuntu-24.04
steps:
- name: Approve Dependabot PR
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_URL: ${{ github.event.pull_request.html_url }}
run: gh pr review --approve "$PR_URL"
- name: Enable auto-merge for Dependabot PRs
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_URL: ${{ github.event.pull_request.html_url }}
run: gh pr merge --auto "$PR_URL"