Skip to content

Feat/135772 pdf page bulk export #7721

Feat/135772 pdf page bulk export

Feat/135772 pdf page bulk export #7721

Workflow file for this run

name: Auto approve PR
on:
pull_request_target:
types: [opened, reopened, synchronize]
permissions:
pull-requests: write
jobs:
# Auto approve on dependabot PR at patch update
# by https://zenn.dev/nemuki/articles/dependabot-auto-merge
approve-updating-patch-version:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
- name: Approve a PR
if: ${{ steps.dependabot-metadata.outputs.update-type == 'version-update:semver-minor' || steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch' }}
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}