ci(editor): Do not run parallel jobs for a single spec (no-changelog) (#6052)

* ci(editor): Do not run parallel jobs for a single spec

* Fix syntax

* Only post e2e success comment on actual e2e success

* Set e2e-reusable output and check all container state
This commit is contained in:
OlegIvaniv
2023-04-21 13:31:39 +02:00
committed by GitHub
parent ac245fdb8d
commit d17d050a16
2 changed files with 30 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ jobs:
if: always()
steps:
- name: E2E success comment
if: ${{!contains(github.event.pull_request.labels.*.name, 'community') || needs.run-e2e-tests.result == 'success' }}
if: ${{!contains(github.event.pull_request.labels.*.name, 'community') && needs.run-e2e-tests.outputs.tests_passed == 'true' }}
uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ github.event.pull_request.number }}