Skip to content

Support Bot as an actor#297

Open
khoinguyen wants to merge 4 commits intopeter-evans:mainfrom
khoinguyen:main
Open

Support Bot as an actor#297
khoinguyen wants to merge 4 commits intopeter-evans:mainfrom
khoinguyen:main

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]

@Ehhamid611
Copy link

H

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