Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dakale
Copy link
Contributor

@dakale dakale commented Sep 8, 2020

Big thank you to @kevinphelps for #63 (closes #14) and @Co-qn for #43 (closes #42)

I just took those changes verbatim and rebased them and re-created this for simplicity. In the future I will ideally continue to merge existing PRs rather than create new ones but given their age I felt it reasonable to recreate them here so they'd be rebased, I could generate an up to date build, and run the formatting

const configPath = core.getInput('configuration-path', {required: true});
const token = core.getInput("repo-token", { required: true });
const configPath = core.getInput("configuration-path", { required: true });
const syncLabels = !!core.getInput("sync-labels", { required: false });

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sync-labels still triggering when set to false (bug #104), or when unset.

I think the bug is on this line - getInput returns a string, and !!"false" is true, just like !!"true".

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doh! When I orginally wrote this code, I don't think I tested setting the input to false. You can just leave the input out to disable syncing as a workaround until this bug is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to get all file changes. Remove labels for reverted changes

4 participants