Problem using workflow_dispatch trigger with other workflow triggers

Hello

I’m getting the following problem when adding multiple workflow triggers:

and

Can’t we have a workflow that triggers with workflow_dispatch (manually) and other triggers?

You can have multiple triggers, there’s just a syntax error in your workflow: There’s no colon after workflow_dispatch, making the value for the on: keyword a weird mix of string and object. Try this:

on:
  workflow_dispatch:
  push:
    branches:
      - master
# ...
1 Like