diff --git a/elastic/github-commands/action.yml b/elastic/github-commands/action.yml index 6ac1ecfb..41a29e80 100644 --- a/elastic/github-commands/action.yml +++ b/elastic/github-commands/action.yml @@ -20,6 +20,13 @@ runs: with: github-token: ${{ inputs.github-token }} script: | + let commands = `- \`run\` \`docs-build\` : Re-trigger the docs validation. (use unformatted text in the comment!)` + // See https://github.com/elastic/logstash/pull/18383 + if ((context.repo.repo === 'logstash' || context.repo.repo === 'oblt-actions') && context.repo.owner === 'elastic') { + commands += ` + - \`/run exhaustive tests\` : Run the exhaustive tests Buildkite pipeline.` + } + const body = ` ### :robot: GitHub comments @@ -27,7 +34,7 @@ runs:
Just comment with: - - \`run\` \`docs-build\` : Re-trigger the docs validation. (use unformatted text in the comment!) + ${commands}
`.replace(/ +/g, '')