From 5f7be9f197335eceebb875abcf67d423dc1d1417 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Fri, 31 Oct 2025 10:18:03 +0100 Subject: [PATCH 1/2] feat(github-commands): support logstash specifics --- elastic/github-commands/action.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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, '') From f1e3b0e47a7e16db4b3029a15fc2cb524d7643a7 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Fri, 31 Oct 2025 10:24:58 +0100 Subject: [PATCH 2/2] fix --- elastic/github-commands/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elastic/github-commands/action.yml b/elastic/github-commands/action.yml index 41a29e80..784478e8 100644 --- a/elastic/github-commands/action.yml +++ b/elastic/github-commands/action.yml @@ -20,7 +20,7 @@ runs: with: github-token: ${{ inputs.github-token }} script: | - let commands = `- \`run\` \`docs-build\` : Re-trigger the docs validation. (use unformatted text in the comment!)` + 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 += `