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
- Maintain a list of such bots that are used by some popular integrations e.g. GitHub CodeQL uses
github-advanced-security.
- Provide a config file option where repo owners can provide a file for the users list they want to ignore.
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:
{
"github-advanced-security": "GitHub CodeQL bot"
}
Later a message can be logged based on the above metadata and workflow can be skipped.
Repository
No response
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.jsonwhich can contain the metadata like:{ "github-advanced-security": "GitHub CodeQL bot" }Later a message can be logged based on the above metadata and workflow can be skipped.
Repository
No response