Even though the dra publish script attempts to
run the release manager in dry-run mode, there's
no value allowing the step to run via PRs, because it fails since it's working with an unrecognized
branch e.g. The specified project directory '/release/project-configs/test-prs' does not exist.
Backport of #255
Even though the dra publish script attempts to run the release manager in dry-run mode, there's no value allowing the step to run via PRs, because it fails since it's working with an unrecognized branch e.g.
The specified project directory '/release/project-configs/test-prs' does not exist.
Example failure: https://buildkite.com/elastic/elastic-stack-installers/builds/3910#018dcc46-d6c9-4845-bf0f-be61a7dd307e/73-101
This commit skips the DRA publish step when the snapshot pipeline gets triggered by PRs.