Skip to content

Commit

Permalink
fix(skip-ci): updating command and bool parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
eXigentCoder committed Dec 27, 2023
1 parent 7cac725 commit 2ac45cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ runs:
last_successful_event: ${{ inputs.last-successful-event }}
working_directory: ${{ inputs.working-directory }}
working_id: ${{ inputs.workflow-id }}
run: node "$GITHUB_ACTION_PATH/dist/index.js" "$gh_token" "$main_branch_name" "$error_on_no_successful_workflow" "$last_successful_event" "$working_directory" "$working_id"
get_last_skip_ci_commit: ${{inputs.get-last-skip-ci-commit}}
run: node "$GITHUB_ACTION_PATH/dist/index.js" "$gh_token" "$main_branch_name" "$error_on_no_successful_workflow" "$last_successful_event" "$working_directory" "$working_id" "$get_last_skip_ci_commit"

- name: Log base and head SHAs used for nx affected
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37867,7 +37867,7 @@ const errorOnNoSuccessfulWorkflow = process.argv[4];
const lastSuccessfulEvent = process.argv[5];
const workingDirectory = process.argv[6];
const workflowId = process.argv[7];
const getLastSkippedCommitAfterBase = process.argv[8];
const getLastSkippedCommitAfterBase = process.argv[8] === "true" ? true : false;
const defaultWorkingDirectory = ".";
const ProxifiedClient = action_1.Octokit.plugin(proxyPlugin);
const messagesToSkip = [
Expand Down
2 changes: 1 addition & 1 deletion find-successful-workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const errorOnNoSuccessfulWorkflow = process.argv[4];
const lastSuccessfulEvent = process.argv[5];
const workingDirectory = process.argv[6];
const workflowId = process.argv[7];
const getLastSkippedCommitAfterBase = process.argv[8];
const getLastSkippedCommitAfterBase = process.argv[8] === "true" ? true : false;
const defaultWorkingDirectory = ".";

const ProxifiedClient = Octokit.plugin(proxyPlugin);
Expand Down

0 comments on commit 2ac45cf

Please sign in to comment.