mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
Make workflow text more helpful
This commit is contained in:
parent
a232d9075f
commit
9de6fe59d5
@ -245,7 +245,7 @@ export class GitHubRepoConnection extends CommandConnection implements IConnecti
|
||||
});
|
||||
}
|
||||
|
||||
@botCommand("workflow run", "Run a workflow", ["name"], ["args", "ref"], true)
|
||||
@botCommand("workflow run", "Run a GitHub Actions workflow. Args should be specified in \"key=value,key2='value 2'\" format.", ["name"], ["args", "ref"], true)
|
||||
public async onWorkflowRun(userId: string, name: string, args?: string, ref?: string) {
|
||||
const octokit = await this.tokenStore.getOctokitForUser(userId);
|
||||
if (!octokit) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user