Search code examples
githubgithub-actions

How can I view a GitHub Actions build pipeline without a commit?


I setup a GitHub Actions workflow in a repo by adding files under .github/workflows/***.yml. The YAML files' structure is very complicated. It includes many files and templates of files. It is not easy to read those files. I'd like to look at the build CI/CD pipeline in GitHub but I can't find anywhere I can view it. All I can do is to push a commit to trigger the build and look at the action associated with the commit.

Is there a way for me to review the build pipeline without pushing any commit?

My use case is that I have a monorepo in GitHub which includes a few hundred projects. Each project has different CI/CD pipelines in different environment. I'd like to find a way to easily look at what the pipeline looks like for each project in each environment. In current GitHub console, I can't find an easy way to achieve that.


Solution

  • Unfortunately, GitHub Actions does not provide a way for you to review your GitHub workflows visually without running them. You could, however, use a tool like yml2dot or JSON Crack to generate visualizations of your YML workflow files.