Skip to content

Bump got and nodemon #9

Bump got and nodemon

Bump got and nodemon #9

name: "Dependabot Automerge - Action"
on:
pull_request:
jobs:
worker:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: automerge
uses: actions/[email protected]
with:
script: |
github.pullRequests.createReview({
owner: context.payload.repository.owner.login,
repo: context.payload.repository.name,
pull_number: context.payload.pull_request.number,
event: 'APPROVE'
})
github.pullRequests.merge({
owner: context.payload.repository.owner.login,
repo: context.payload.repository.name,
pull_number: context.payload.pull_request.number
})
github-token: ${{GITHUB_TOKEN}}

Check failure on line 27 in .github/workflows/dependabotautomerge.yml

View workflow run for this annotation

GitHub Actions / Dependabot Automerge - Action

Invalid workflow file

The workflow is not valid. .github/workflows/dependabotautomerge.yml (Line: 27, Col: 25): Unrecognized named-value: 'GITHUB_TOKEN'. Located at position 1 within expression: GITHUB_TOKEN