GitHub Autocomment: add a note if no tests were run (#4109)

- Always (if not cancelled) add a comment to a PR
- Mention in the comment if no tests were run / reports were not
generated.
This commit is contained in:
Alexander Bayandin
2023-05-03 15:38:49 +01:00
committed by GitHub
parent 3ceef7b17a
commit b114ef26c2
2 changed files with 3 additions and 6 deletions

View File

@@ -418,10 +418,7 @@ jobs:
- uses: actions/github-script@v6
if: >
!cancelled() &&
github.event_name == 'pull_request' && (
steps.create-allure-report-debug.outputs.report-url ||
steps.create-allure-report-release.outputs.report-url
)
github.event_name == 'pull_request'
with:
# Retry script for 5XX server errors: https://github.com/actions/github-script#retries
retries: 5