A tool to analyse transitive dependencies of GitHub workflows and to pin actions.
Setup:
$ poetry install
Show transitive dependencies:
$ poetry run octopin dependencies path/to/my/workflow.yml
Pin actions:
$ poetry run octopin pin path/to/my/workflow.yml
Note: depending on the specified options, various calls to the GitHub API have to be made, which means you can easily
run into rate limit issues. You can provide a GitHub PAT by setting the environment variable GH_TOKEN
.