mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
fix: MM-62714 (#30141)
This commit is contained in:
parent
9f5b13d55d
commit
ffb3a34289
3
.github/workflows/server-ci-report.yml
vendored
3
.github/workflows/server-ci-report.yml
vendored
@ -86,12 +86,13 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
TEST_NAME: "${{ matrix.test.name }}"
|
TEST_NAME: "${{ matrix.test.name }}"
|
||||||
FLAKY_SUMMARY: "${{ steps.report.outputs.flaky_summary }}"
|
FLAKY_SUMMARY: "${{ steps.report.outputs.flaky_summary }}"
|
||||||
|
PR_NUMBER: "${{ steps.incoming-pr.outputs.NUMBER }}"
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const body = `#### ⚠️ One or more flaky tests detected ⚠️\n* Failing job: [github.com/mattermost/mattermost:${process.env.TEST_NAME}](${{ github.event.workflow_run.html_url }})\n* Double check your code to ensure you haven't introduced a flaky test.\n* If this seems to be unrelated to your changes, submit a separate pull request to skip the flaky tests (e.g. [23360](https://github.com/mattermost/mattermost/pull/23360)) and file JIRA ticket (e.g. [MM-52743](https://mattermost.atlassian.net/browse/MM-52743)) for later investigation.\n\n${process.env.FLAKY_SUMMARY}`
|
const body = `#### ⚠️ One or more flaky tests detected ⚠️\n* Failing job: [github.com/mattermost/mattermost:${process.env.TEST_NAME}](${{ github.event.workflow_run.html_url }})\n* Double check your code to ensure you haven't introduced a flaky test.\n* If this seems to be unrelated to your changes, submit a separate pull request to skip the flaky tests (e.g. [23360](https://github.com/mattermost/mattermost/pull/23360)) and file JIRA ticket (e.g. [MM-52743](https://mattermost.atlassian.net/browse/MM-52743)) for later investigation.\n\n${process.env.FLAKY_SUMMARY}`
|
||||||
|
|
||||||
await github.rest.issues.createComment({
|
await github.rest.issues.createComment({
|
||||||
issue_number: ${{ steps.incoming-pr.outputs.NUMBER }},
|
issue_number: process.env.PR_NUMBER,
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
body: body
|
body: body
|
||||||
|
Loading…
Reference in New Issue
Block a user