Dependency Management

If the action requires third-party packages to function and work, add those necessary packages to the pyproject.toml file.

[project]
...
dependencies = [
    "pyaction==x.x.x",
    # package 1,
    # package 2,
]

Or, if you’re using uv, do it like this.

uv add package_1==1.2.3 package_2==1.2.3

Using uv creates a uv.lock file in the root of the action directory. You can include this file in your VCS and push it along with your action code.

Updated on