conda-incubator/relock-conda

GitHub action to relock conda environments using conda-lock

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
environment-filethe environment to (re)locknoenvironment.yml
lock-filethe lock file to updateyesconda-lock.yml
ignored-packagescomma- or newline-separated list of packages whose version changes are ignored when relockingyes""
include-only-packagescomma-or newline-separated list of packages to exclusively include when relocking, all others will be ignored, ignored-packages is applied to this list yes""
merge-as-admin-packagescomma-or newline-separated list of packages for which all PR requirements (e.g., CI tests) will be skipped and the PR will be merged immediately, if the updated packages from relocking are a subset thereof yes""
relock-all-packageswhether to relock on an update to any package in the environment, not just those in the environment fileyesfalse
github-tokenGitHub personal access token to use for making PRsyes
actionthe action to take if the lock file is updated: `pr` will make a PR; `file` will leave the updated lock file in the current working directory; `commit` will commit the updated lock file and push the changes yespr
automergewhether to automatically merge the PRyesfalse
base-branchthe base branch for PRs (See [this documentation](https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#events-which-checkout-a-commit) for more details.)
head-branchthe head branch for PRsyesrelock-conda
skip-if-pr-existswhether to skip relocking if a PR already existsyesfalse
draftwhether to open the PR as a draftyesfalse
git-user-namethe name to use for git commits; the default of '' attempts to infer the name from the login associated with the GitHub token via the API. if this fails, we use the value `github.actor` from the context. no""
git-user-emailthe email to use for git commits; the default of '' attempts to infer the email from the login associated with the GitHub token via the API. if this fails, we use '${git-user-name}@users.noreply.github.com'. no""
namedescription
pull-request-numberthe number of the PR that was opened
relockedwhether the environment was relocked
summarythe summary of the relock operation