In my repo I have two actions: one for running tests and one for generating and committing documentation. The triggers for these are defined as:
name: Run tests on: pull_request: branches: - '**' push: branches: - master - 'release/**'
name: Generate docs on: pull_request: branches: - '**'
Now when I push a change to a PR branch, both of these kick off. The docs are generated and committed + pushed back to the branch within ~30 seconds (if there are any documentation changes). The tests take a lot longer, 5+ minutes is not uncommon.
Since the documentation is pushed to the PR branch using a personal access token, I was under the impression that this should trigger a _new _round of workflows, but it seems the push done by the docs action never triggers anything. The result is that the checks for the test workflow on the PR display as “Expected — Waiting for status to be reported”.
When I look at the actions tab, I can see that the workflows were run for the first (human-initiated) push, but not for the second (action-initiated).
What am I doing wrong here? Does the fact that the tests workflow is still running when the second push is done make a difference?