Skip to content

build 📦(deps-dev): bump nodemon from 3.1.2 to 3.1.3 #295

build 📦(deps-dev): bump nodemon from 3.1.2 to 3.1.3

build 📦(deps-dev): bump nodemon from 3.1.2 to 3.1.3 #295

Workflow file for this run

name: Dependabot auto-merge & auto-approve
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
id: auto-merge
if: |
${{ steps.metadata.outputs.update-type == 'version-update:semver-patch'
|| steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Approve a PR
if: ${{ steps.auto-merge.conclusion == 'success' }}
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}