-
Notifications
You must be signed in to change notification settings - Fork 7
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
Maintain bots ignore list #77
Comments
@desrosj Feel free to assign it to me in case the above feature request looks good. |
Thanks for this suggestion, @thelovekesh! We do currently have a list of excluded users, but this one is not yet included. I think in general, bots should never be included in the list and we can handle this list within the action. They will never be linked to a w.org account, and GitHub pre-populates the necessary What would the benefits be for your suggested approach vs. the current one? |
Thanks, @desrosj for the confirmation on the skip users list.
The current action code seems to hardcode usernames within the existing code. It's worth considering if storing such metadata directly in the code is the best approach. Perhaps, if someone needs to exclude specific users, proposing a pull request to the relevant repository might be a more flexible solution. This would facilitate easier management and updates compared to hardcoded values. I'm noticing that the workflow at WordPress/performance#981 encounters issues when the GitHub Rest API cannot resolve the user login. To enhance robustness, I propose decoupling the users list configuration. This way, if similar problems occur in the future, solutions can be implemented directly at the source, preventing the need to update the list within the action code in this repository. This would not only streamline maintenance but also avoid potential delays in merging pull requests due to workflow failures, especially if a "pass all workflows" merge policy is in place. |
Problem
There can be chances when a bot comments on the pull request that isn't a user with login i.e. API-based hosted bot. In such cases, API will be unable to resolve the information about user login.
Originally discovered while evaluating props for a bot user on WordPress/performance#981.
See : Runner logs
Feature Request
github-advanced-security
.In case the current contributor matches the name from the ignore list, simply exit the workflow gracefully.
Workaround
Add a function in the action to read a file which can be named something like
props-bot-contributors-ignore.json
which can contain the metadata like:Later a message can be logged based on the above metadata and workflow can be skipped.
Repository
No response
The text was updated successfully, but these errors were encountered: