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

Support Bot as an actor #297

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

khoinguyen
Copy link

In my use case, I make several commands as building blocks, then I have a cron workflow to trigger the commands in some sequences. In that case, I want to have the comment as a bot to differentiate between comments from contributors and scheduled actions. The bot token is perfect in this case, IMO.

This PR tested in my case.
Just add allow-bots input to, of course, allow to dispatch the commands.

As a preventive, the bot name must be ends with [bot] as per GitHub action convention

with:
  allow-bots: hello[bot]

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.

None yet

1 participant