Skip to content

build(deps-dev): bump @types/node from 18.16.3 to 20.5.1 #435

build(deps-dev): bump @types/node from 18.16.3 to 20.5.1

build(deps-dev): bump @types/node from 18.16.3 to 20.5.1 #435

name: Dependabot auto-merge
on: pull_request
permissions:
contents: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v3
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.5.1
- name: Auto-merge patches
if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-patch' }}
run: gh pr merge --auto --merge "$PR_URL"
env:
GH_TOKEN: ${{ secrets.DEPENDABOT_NODE_TOKEN }}
PR_URL: ${{github.event.pull_request.html_url}}
- name: Auto-merge dev-deps
if: ${{ steps.dependabot-metadata.outputs.dependency-type == "direct:development" && steps.metadata.outputs.update-type == 'version-update:semver-minor' }}

Check failure on line 27 in .github/workflows/merge-dependabot.yml

View workflow run for this annotation

GitHub Actions / Dependabot auto-merge

Invalid workflow file

The workflow is not valid. .github/workflows/merge-dependabot.yml (Line: 27, Col: 19): Unexpected symbol: '"direct:development"'. Located at position 54 within expression: steps.dependabot-metadata.outputs.dependency-type == "direct:development" && steps.metadata.outputs.update-type == 'version-update:semver-minor'
run: gh pr merge --auto --merge "$PR_URL"
env:
GH_TOKEN: ${{ secrets.DEPENDABOT_NODE_TOKEN }}
PR_URL: ${{github.event.pull_request.html_url}}