Now it’s possible to have dependencies between workflows on Github Actions using workflow_run.
Using this config, the Release
workflow will work when the Run Tests
workflow is completed.
name: Release
on:
workflow_run:
workflows: ["Run Tests"]
branches: [main]
types:
- completed