Skip to content

Commit

Permalink
🔀 Merge pull request #831 from marocchino/fix-allow-empty-default
Browse files Browse the repository at this point in the history
🐛 Change ignore empty default
  • Loading branch information
marocchino authored Nov 22, 2022
2 parents c2d61f8 + c4fe677 commit fcf6fe9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ inputs:
required: false
ignore_empty:
description: "Indicates whether to ignore missing or empty messages"
default: "true"
default: "false"
required: false
follow_symbolic_links:
description: "Indicates whether to follow symbolic links for path"
Expand All @@ -55,8 +55,8 @@ inputs:
description: "other repo name limited use on github enterprise. If not set, the current repo is used by default. Note that When you trying changing a repo, be aware that GITHUB_TOKEN should also use that repo's."
required: false
GITHUB_TOKEN:
description: 'The GitHub access token (e.g. secrets.GITHUB_TOKEN) used to create or update the comment. This defaults to {{ github.token }}.'
default: '${{ github.token }}'
description: "The GitHub access token (e.g. secrets.GITHUB_TOKEN) used to create or update the comment. This defaults to {{ github.token }}."
default: "${{ github.token }}"
required: false
runs:
using: "node16"
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/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ async function run(): Promise<undefined> {
const body = await getBody()

if (!body && ignoreEmpty) {
core.info("no body given: skip step by ignoreEmpty")
return
}

Expand Down

0 comments on commit fcf6fe9

Please sign in to comment.