ci: Prettify and remove redundancies (#31634)

This commit is contained in:
Nidhi 2024-03-09 12:56:02 +05:30 committed by GitHub
parent fee21b5fd5
commit 96655ec988
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 24 additions and 30 deletions

View File

@ -14,8 +14,9 @@ Fixes `Issue URL`
/ok-to-test tags=""
################# _Do Not Edit This Area_ #################
### ok-to-test status
<!-- This is an auto-generated comment: Cypress test results -->
> [!CAUTION]
> If you modify the content in this section, you are likely to disrupt the CI result for your PR.
###################################################
<!-- end of auto-generated comment: Cypress test results -->

View File

@ -175,16 +175,15 @@ jobs:
uses: nefrob/pr-description@v1.1.1
with:
content: |
################# _Do Not Edit This Area_ #################
#### ok-to-test Response:
<!-- This is an auto-generated comment: Cypress test results -->
Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
Commit: `${{ github.event.pull_request.head.sha }}`.
Cypress dashboard: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}&selectiontype=test&testsstatus=failed&specsstatus=fail" target="_blank"> Click here!</a>
The following are new failures, please fix them before merging the PR: ${{env.new_failed_spec_env}}
To know the list of identified flaky tests - <a href="https://internal.appsmith.com/app/cypress-dashboard/identified-flaky-tests-65890b3c81d7400d08fa9ee3?branch=master" target="_blank">Refer here</a>
###################################################
regex: "################# _Do Not Edit This Area_ #################.*?###################################################"
<!-- end of auto-generated comment: Cypress test results -->
regex: "<!-- This is an auto-generated comment: Cypress test results -->.*?<!-- end of auto-generated comment: Cypress test results -->"
regexFlags: ims
token: ${{ secrets.GITHUB_TOKEN }}
@ -193,15 +192,14 @@ jobs:
uses: nefrob/pr-description@v1.1.1
with:
content: |
################# _Do Not Edit This Area_ #################
#### ok-to-test Response:
<!-- This is an auto-generated comment: Cypress test results -->
Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
Commit: `${{ github.event.pull_request.head.sha }}`.
Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}" target="_blank">Click here!</a>
It seems like **no tests ran** 😔. We are not able to recognize it, please check workflow <a href="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" target="_blank">here.</a>
###################################################
regex: "################# _Do Not Edit This Area_ #################.*?###################################################"
<!-- end of auto-generated comment: Cypress test results -->
regex: "<!-- This is an auto-generated comment: Cypress test results -->.*?<!-- end of auto-generated comment: Cypress test results -->"
regexFlags: ims
token: ${{ secrets.GITHUB_TOKEN }}
@ -210,15 +208,14 @@ jobs:
uses: nefrob/pr-description@v1.1.1
with:
content: |
################# _Do Not Edit This Area_ #################
#### ok-to-test Response:
<!-- This is an auto-generated comment: Cypress test results -->
Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
Commit: `${{ github.event.pull_request.head.sha }}`.
Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=${{ github.run_id }}&attempt=${{ github.run_attempt }}" target="_blank">Click here!</a>
All cypress tests have passed 🎉🎉🎉
###################################################
regex: "################# _Do Not Edit This Area_ #################.*?###################################################"
<!-- end of auto-generated comment: Cypress test results -->
regex: "<!-- This is an auto-generated comment: Cypress test results -->.*?<!-- end of auto-generated comment: Cypress test results -->"
regexFlags: ims
token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -56,13 +56,12 @@ jobs:
uses: nefrob/pr-description@v1.1.1
with:
content: |
################# _Do Not Edit This Area_ #################
#### ok-to-test Response:
<!-- This is an auto-generated comment: Cypress test results -->
The provided command lacks proper tags. Please modify PR body, specifying the tags you want to include or use `/ok-to-test tags="@tag.All"` to run all specs.
Explore the tags documentation [here](https://www.notion.so/appsmith/Ok-to-test-With-Tags-7c0fc64d4efb4afebf53348cd6252918)
###################################################
regex: "################# _Do Not Edit This Area_ #################.*?###################################################"
<!-- end of auto-generated comment: Cypress test results -->
regex: "<!-- This is an auto-generated comment: Cypress test results -->.*?<!-- end of auto-generated comment: Cypress test results -->"
regexFlags: ims
token: ${{ secrets.GITHUB_TOKEN }}
@ -92,13 +91,12 @@ jobs:
uses: nefrob/pr-description@v1.1.1
with:
content: |
################# _Do Not Edit This Area_ #################
#### ok-to-test Response:
<!-- This is an auto-generated comment: Cypress test results -->
Please use `/ok-to-test tags="@tag.All"` to run all specs.
Explore the tags documentation [here](https://www.notion.so/appsmith/Ok-to-test-With-Tags-7c0fc64d4efb4afebf53348cd6252918)
###################################################
regex: "################# _Do Not Edit This Area_ #################.*?###################################################"
<!-- end of auto-generated comment: Cypress test results -->
regex: "<!-- This is an auto-generated comment: Cypress test results -->.*?<!-- end of auto-generated comment: Cypress test results -->"
regexFlags: ims
token: ${{ secrets.GITHUB_TOKEN }}
@ -113,15 +111,14 @@ jobs:
uses: nefrob/pr-description@v1.1.1
with:
content: |
################# _Do Not Edit This Area_ #################
#### ok-to-test Response:
<!-- This is an auto-generated comment: Cypress test results -->
Whoa, @tag.All spotted in your test suite! 🚀
While @tag.All is cool, like a catch-all net, why not try specific tags? 🏷️
Narrow down your suite with specific tags for quicker and more accurate tests! 🚀 Less waiting, more zipping through tests like a ninja!
Explore the tags documentation [here](https://www.notion.so/appsmith/Ok-to-test-With-Tags-7c0fc64d4efb4afebf53348cd6252918)
###################################################
regex: "################# _Do Not Edit This Area_ #################.*?###################################################"
<!-- end of auto-generated comment: Cypress test results -->
regex: "<!-- This is an auto-generated comment: Cypress test results -->.*?<!-- end of auto-generated comment: Cypress test results -->"
regexFlags: ims
token: ${{ secrets.GITHUB_TOKEN }}
@ -130,15 +127,14 @@ jobs:
uses: nefrob/pr-description@v1.1.1
with:
content: |
################# _Do Not Edit This Area_ #################
#### ok-to-test Response:
<!-- This is an auto-generated comment: Cypress test results -->
Tests running at: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>.
Commit: `${{ github.event.pull_request.head.sha }}`
Workflow: `${{ github.workflow }}`
Tags: `${{ steps.checkAll.outputs.tags }}`
###################################################
regex: "################# _Do Not Edit This Area_ #################.*?###################################################"
<!-- end of auto-generated comment: Cypress test results -->
regex: "<!-- This is an auto-generated comment: Cypress test results -->.*?<!-- end of auto-generated comment: Cypress test results -->"
regexFlags: ims
token: ${{ secrets.GITHUB_TOKEN }}