garronej/github_actions_toolkit

A collection of github actions

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
action_nameAction to run, one of: "get_package_json_version", "dispatch_event", "update_changelog", "sync_package_and_package_lock_version", "setup_repo_webhook_for_deno_land_publishing", "is_well_formed_and_available_module_name", "string_replace", "tell_if_project_uses_npm_or_yarn", "is_package_json_version_upgraded"yes
ownerRepository owner, example: 'garronej',github.repository_ownerno${{github.repository_owner}}
repoRepository name, example: 'evt', github.event.repository.nameno${{github.event.repository.name}}
event_typesee: https://developer.github.com/v3/repos/#create-a-repository-dispatch-eventno
client_payload_jsonExample '{"p":"foo"}' see: https://developer.github.com/v3/repos/#create-a-repository-dispatch-eventno
branchExample: default ( can also be a sha )no${{ github.sha }}
exclude_commit_from_author_names_jsonFor update_changelog, do not includes commit from user certain committer in the CHANGELOG.md, ex: '["denoify_ci"]'no["actions"]
module_nameA candidate module name, Example: lodashno
compare_to_versionFor get_package_json_version, a version against which comparing the result if found version more recent than compare_to_version compare_result is 1 if found version is equal to compare_to_version compare_result is 0 if found version is older to compare_to_version compare_result -1 Example: 0.1.3no
input_stringFor string_replace, the string to replaceno
search_valueFor string_replace, Example '-' ( Will be used as arg for RegExp constructor )no
replace_valueFor string_replace, Example '_'no
should_webhook_be_enabledtrue|false, Should the create webhook be enabled, with setup_repo_webhook_for_deno_land_publishingnotrue
github_tokenGitHub Personal access tokenno${{ github.token }}
namedescription
versionOutput of get_package_json_version
is_valid_node_module_nametrue|false
is_valid_deno_module_nametrue|false
is_available_on_npmtrue|false
is_available_on_deno_landtrue|false
was_already_publishedtrue|false
compare_result1|0|-1
replace_resultOutput of string_replace
was_hook_createdtrue|false
npm_or_yarnnpm|yarn
from_versionOutput of is_package_json_version_upgraded, string
to_versionOutput of is_package_json_version_upgraded, string
is_upgraded_versionOutput of is_package_json_version_upgraded, true|false