Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paginate and remove old labels #96

Merged
merged 3 commits into from
Sep 8, 2020
Merged

Paginate and remove old labels #96

merged 3 commits into from
Sep 8, 2020

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
3 participants