Skip to content

Commit

Permalink
Fixed skip_ci variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
varunsridharan committed Feb 11, 2021
1 parent 0b2de74 commit 11b5ac9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 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.

2 changes: 1 addition & 1 deletion src/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const source_file_location = async( WORKFLOW_FILES_DIR, REPOSITORY_OWNER, REPOSI
const commitfile = async( local_path, skip_ci, commit_message ) => {
let message = `💬 - Files Synced | Runner ID : ${toolkit.input.env( 'GITHUB_RUN_NUMBER' )} | ⚡ Triggered By ${toolkit.input.env( 'GITHUB_REPOSITORY' )}`;

if( typeof commit_message === 'undefined' && skip_ci ) {
if( ( typeof commit_message === 'undefined' || commit_message === 'false' || commit_message === false ) && skip_ci ) {
message = '[skip ci] | ' + message;
}

Expand Down

0 comments on commit 11b5ac9

Please sign in to comment.