Is your branch master or main?
It might be silly in the future but as for October 2020 just keep in mind that the default GitHub branch has been renamed from master to main (source).
So if you are copypasting actions from elsewhere, make sure that you are targeting the correct branch (for new repos this means most of the time to replace master with main in the .yml workflow files).
If you are targeting the wrong branch, the name of the action will appear on GitHub but no actions will actually run.
Answer from fr_andres on Stack OverflowIs your branch master or main?
It might be silly in the future but as for October 2020 just keep in mind that the default GitHub branch has been renamed from master to main (source).
So if you are copypasting actions from elsewhere, make sure that you are targeting the correct branch (for new repos this means most of the time to replace master with main in the .yml workflow files).
If you are targeting the wrong branch, the name of the action will appear on GitHub but no actions will actually run.
In my case there was a Github actions outage. Check https://www.githubstatus.com/
github actions - workflow_run not triggered as expected after parent workflow completes - Stack Overflow
Using `workflow_run` in pull requests from non-default branches or forks
Workflow runs not starting after previous workflow completes
Workflow_run completed event triggered by failed workflow
Some workflows, such as those, based on workflow_dispatch event, the workflow will not even show until the code is on the main (or default branch).
The good news is, once you do merge your feature to main, you may keep on working on the feature branch. From then on, you will have the option to choose which branch you want to run the workflow on , like in the picture.

You need to put workflow_dispatch: under on:.
name: Test
on:
release:
types: [created]
workflow_dispatch: # Put here!!
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run a one-line script
run: echo Hello, world!
Then, a Run workflow button is shown.


It's ok to put workflow_dispatch: before release:. It works as well.
name: Test
on:
workflow_dispatch: # Putting here is also fine!!
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run a one-line script
run: echo Hello, world!
Hello,
it's super frustrating that my cross-workflow dependency still not working after about 100 commits...
Basically, I am following this documentation
and my configurations are as follow:
workflow1.yml
name: "pre-commit"
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
pre-commit:
name: pre-commit
...workflow2.yml
name: "test"
on:
workflow_run:
workflows:
- pre-commit
jobs:
py-test:
name: py-test
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
...I've tried several combination like
adding
completed
besides testing on remote, I also tried several times locally... but none of my attempts succeeded.
Could anyone kindly help me with this? I will be very grateful! Thank you

