ci: Prettify and remove redundancies (#31634)
This commit is contained in:
parent
fee21b5fd5
commit
96655ec988
5
.github/pull_request_template.md
vendored
5
.github/pull_request_template.md
vendored
|
|
@ -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 -->
|
||||
|
|
@ -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 }}
|
||||
|
||||
|
|
|
|||
28
.github/workflows/ok-to-test-2.yml
vendored
28
.github/workflows/ok-to-test-2.yml
vendored
|
|
@ -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 }}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user