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

chore(logs): add more logs and better dry-run #463

Merged
merged 5 commits into from
Jun 7, 2021

Conversation

C0ZEN
Copy link
Contributor

@C0ZEN C0ZEN commented May 24, 2021

FYI, you can read the commits to have a better description.

Changes

  • Add more logs
  • Change the dry-run to cover more code
  • Remove bad default values for some options

Closes #462
Closes #461

Copy link
Collaborator

@luketomlinson luketomlinson left a comment

Choose a reason for hiding this comment

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

Maybe I'm reading it incorrectly, but I think some conditions might be swapped? I'd appreciate any explanation if I'm missing something 😅

dist/index.js Outdated Show resolved Hide resolved
src/classes/issues-processor.ts Outdated Show resolved Hide resolved
src/classes/issues-processor.ts Outdated Show resolved Hide resolved
C0ZEN added 4 commits June 3, 2021 22:12
A log was missing when the option was configured but the close label was not present on the issue/PR
Change the log about not removing the close label to explicitly mention that this behaviour occur because the option is not configured
Fixes actions#462
the dry-run checks were cancelling way sooner the workflow
the logs and the count of operations could not occur in dry run due to this
the goal of the dry run is just to skip some logic regarding the api calls to avoid altering the repos but the goal IMO is to also make them reflect the real world run so this change allow this
BTW it also allow now to test the consumed operations
Fixes actions#461
@C0ZEN
Copy link
Contributor Author

C0ZEN commented Jun 3, 2021

@luketomlinson nice catch, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants