8

I have 3 different workflows in a project configured at top as:

plan_streamline.yml

name: plan

on:
  push:
    branches:
      - main
  workflow_dispatch:

...
   

terrform_import.yml

name: terraform_import

on: workflow_dispatch
...

plan.yml

on:
  push:
    branches:
      - main
  workflow_dispatch:

But within the github action I do not see the ability to manually execute any of the workflows, as I should be seeing something like https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/

What is wrong with my workflow configuration?

Sauron
  • 6,399
  • 14
  • 71
  • 136

2 Answers2

18

Merged the branch with the new workflows to the default branch so that option appears now

Sauron
  • 6,399
  • 14
  • 71
  • 136
0

According to the information on this page, in the section "Configure branches", the following:

name: Manual Trigger Workflow

on:
  workflow_dispatch:
    branches:
      - main

should work for any branch specified.

t-w
  • 21
  • 3