Skip to content

ci(deps): bump ejs from 3.1.9 to 3.1.10 #5078

ci(deps): bump ejs from 3.1.9 to 3.1.10

ci(deps): bump ejs from 3.1.9 to 3.1.10 #5078

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 }}