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: change lockfile bot to update comments #883

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

gmaclennan
Copy link
Member

This proposed change is to the lockfile bot which comments on pull requests with changes to the lockfile. I propose changing the bot config to update the original comment when the PR is updated, rather than creating new comments, in order to reduce "noise" in the PR comment thread. Open to arguments for keeping it as-is with new comments for each commit!

@gmaclennan gmaclennan requested a review from achou11 October 2, 2024 08:31
Copy link
Member

@achou11 achou11 left a comment

Choose a reason for hiding this comment

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

based on the docs, this should be configured to update the comment by default which is why i didn't specify it 🤦‍♂️

https://github.com/rvanvelzen/npm-lockfile-changes?tab=readme-ov-file#-inputs

another lesson in preferring to be explicit when configuring stuff like this...

@gmaclennan
Copy link
Member Author

yeah looks like a bug in their action.yml file, they specify the default as default: 'true', when, if github's own actions are anything to go by, should be default: true.

@gmaclennan gmaclennan merged commit 286116f into main Oct 2, 2024
6 checks passed
@gmaclennan gmaclennan deleted the chore/lockfile-bot-comment-update branch October 2, 2024 10:51
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.

2 participants