diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 17ec378512..5368e0ea4c 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -14,8 +14,9 @@ Fixes `Issue URL` /ok-to-test tags="" -################# _Do Not Edit This Area_ ################# +### ok-to-test status + > [!CAUTION] > If you modify the content in this section, you are likely to disrupt the CI result for your PR. -################################################### \ No newline at end of file + \ No newline at end of file diff --git a/.github/workflows/integration-tests-command-2.yml b/.github/workflows/integration-tests-command-2.yml index 2153ea9548..8cb211b8ca 100644 --- a/.github/workflows/integration-tests-command-2.yml +++ b/.github/workflows/integration-tests-command-2.yml @@ -175,16 +175,15 @@ jobs: uses: nefrob/pr-description@v1.1.1 with: content: | - ################# _Do Not Edit This Area_ ################# - #### ok-to-test Response: + Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>. Commit: `${{ github.event.pull_request.head.sha }}`. Cypress dashboard: Click here! 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 - Refer here - ################################################### - regex: "################# _Do Not Edit This Area_ #################.*?###################################################" + + regex: ".*?" 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: + Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>. Commit: `${{ github.event.pull_request.head.sha }}`. Cypress dashboard url: Click here! It seems like **no tests ran** 😔. We are not able to recognize it, please check workflow here. - ################################################### - regex: "################# _Do Not Edit This Area_ #################.*?###################################################" + + regex: ".*?" 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: + Workflow run: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>. Commit: `${{ github.event.pull_request.head.sha }}`. Cypress dashboard url: Click here! All cypress tests have passed 🎉🎉🎉 - ################################################### - regex: "################# _Do Not Edit This Area_ #################.*?###################################################" + + regex: ".*?" regexFlags: ims token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/ok-to-test-2.yml b/.github/workflows/ok-to-test-2.yml index 07d26f21ed..a0d4c1201f 100644 --- a/.github/workflows/ok-to-test-2.yml +++ b/.github/workflows/ok-to-test-2.yml @@ -56,13 +56,12 @@ jobs: uses: nefrob/pr-description@v1.1.1 with: content: | - ################# _Do Not Edit This Area_ ################# - #### ok-to-test Response: + 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_ #################.*?###################################################" + + regex: ".*?" 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: + 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_ #################.*?###################################################" + + regex: ".*?" 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: + 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_ #################.*?###################################################" + + regex: ".*?" 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: + 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_ #################.*?###################################################" + + regex: ".*?" regexFlags: ims token: ${{ secrets.GITHUB_TOKEN }}