Skip to content

chore(deps): bump node from fb71d01 to 156b55f in /apps/web #79

chore(deps): bump node from fb71d01 to 156b55f in /apps/web

chore(deps): bump node from fb71d01 to 156b55f in /apps/web #79

name: Dependabot auto-merge
on: pull_request
# Least-privilege default; the auto-merge job escalates to what it needs to
# approve and enable auto-merge on Dependabot PRs.
permissions:
contents: read
jobs:
auto-merge:
# Only act on Dependabot's own PRs.
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Fetch update metadata
id: meta
uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Approve and enable auto-merge for patch & minor updates
if: >-
steps.meta.outputs.update-type == 'version-update:semver-patch' ||
steps.meta.outputs.update-type == 'version-update:semver-minor'
# PR_URL via env (never interpolated into the shell) to avoid injection.
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr review --approve "$PR_URL"
gh pr merge --auto --squash "$PR_URL"