Skip to content

Analyses and pins GitHub actions in your workflows

License

Notifications You must be signed in to change notification settings

TinyGearsOrg/octopin

Repository files navigation

octopin

Build status License: MIT

A tool to analyse transitive dependencies of GitHub workflows and to pin actions.

Usage:

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.