Skip to content

Commit

Permalink
update help message
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Feb 1, 2024
1 parent b430ecd commit f83fdd8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions __tests__/functions/help.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const defaultInputs = {
lock_info_alias: '.wcid',
global_lock_flag: '--global',
update_branch: 'warn',
outdated_mode: 'strict',
required_contexts: 'false',
allowForks: 'true',
skipCi: '',
Expand Down Expand Up @@ -70,6 +71,7 @@ test('successfully calls help with non-defaults', async () => {
lock_info_alias: '.wcid',
global_lock_flag: '--global',
update_branch: 'force',
outdated_mode: 'pr_base',
required_contexts: 'cat',
allowForks: 'false',
skipCi: 'development',
Expand Down Expand Up @@ -102,6 +104,7 @@ test('successfully calls help with non-defaults', async () => {
lock_info_alias: '.wcid',
global_lock_flag: '--global',
update_branch: 'force',
outdated_mode: 'default_branch',
required_contexts: 'cat',
allowForks: 'false',
skipCi: 'development',
Expand Down
1 change: 1 addition & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/functions/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ export async function help(octokit, context, reactionId, inputs) {
inputs.reaction
}\` - The GitHub reaction icon to add to the deployment comment when a deployment is triggered
- \`update_branch: ${inputs.update_branch}\` - ${update_branch_message}
- \`outdated_mode: ${inputs.outdated_mode}\`
- \`required_contexts: ${
inputs.required_contexts
}\` - ${required_contexts_message}
Expand Down

0 comments on commit f83fdd8

Please sign in to comment.