From 83b84acf2f619dab2a821f6b227ade3deb0b00f0 Mon Sep 17 00:00:00 2001 From: VaishnaviNandakumar Date: Sat, 24 Feb 2024 20:31:13 +0530 Subject: [PATCH 1/5] Added yaml --- .github/workflows/notify-triagers.yml | 29 +++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/notify-triagers.yml diff --git a/.github/workflows/notify-triagers.yml b/.github/workflows/notify-triagers.yml new file mode 100644 index 000000000000..13b89e7c5f27 --- /dev/null +++ b/.github/workflows/notify-triagers.yml @@ -0,0 +1,29 @@ +name: Notify Docs-triagers + +on: + pull_request: + push: + branches: + - master + +jobs: + Notify-triagers: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4.1.1 + + - name: Check PR Changes + id: pr-changes + uses: tj-actions/changed-files@v42 + with: + files: | + **.md + + - name: Create Comment + if: steps.pr-changes.outputs.any_changed == 'true' + uses: mshick/add-pr-comment@v2.8.2 + with: + message: "The PR contains modifications to `.md` files, hence tagging Docs triagers for review and approval. + cc: @alequetzalli @TRohit20 @octonawish-akcodes @BhaswatiRoy @VaishnaviNandakumar @Arya-Gupta @J0SAL" + repo-token: ${{ secrets.GH_TOKEN }} From 803459aaab364aad99fac97b65b964c121639b65 Mon Sep 17 00:00:00 2001 From: VaishnaviNandakumar Date: Sat, 24 Feb 2024 20:32:57 +0530 Subject: [PATCH 2/5] Added yaml --- .github/workflows/notify-triagers.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/notify-triagers.yml b/.github/workflows/notify-triagers.yml index 13b89e7c5f27..a782a782a600 100644 --- a/.github/workflows/notify-triagers.yml +++ b/.github/workflows/notify-triagers.yml @@ -25,5 +25,5 @@ jobs: uses: mshick/add-pr-comment@v2.8.2 with: message: "The PR contains modifications to `.md` files, hence tagging Docs triagers for review and approval. - cc: @alequetzalli @TRohit20 @octonawish-akcodes @BhaswatiRoy @VaishnaviNandakumar @Arya-Gupta @J0SAL" + cc: @VaishnaviNandakumar" repo-token: ${{ secrets.GH_TOKEN }} From 40b2f51cceacbdc4c757fd5ded6b392c668ba5b6 Mon Sep 17 00:00:00 2001 From: VaishnaviNandakumar Date: Sat, 24 Feb 2024 20:45:22 +0530 Subject: [PATCH 3/5] Added yaml --- .github/workflows/notify-triagers.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/notify-triagers.yml b/.github/workflows/notify-triagers.yml index a782a782a600..c57dd97eb08b 100644 --- a/.github/workflows/notify-triagers.yml +++ b/.github/workflows/notify-triagers.yml @@ -26,4 +26,4 @@ jobs: with: message: "The PR contains modifications to `.md` files, hence tagging Docs triagers for review and approval. cc: @VaishnaviNandakumar" - repo-token: ${{ secrets.GH_TOKEN }} + repo-token: ${{ github.token }} From 76240365dd71eed67c46b9c2a8084c9a8613bd13 Mon Sep 17 00:00:00 2001 From: VaishnaviNandakumar Date: Sun, 19 May 2024 17:18:02 +0530 Subject: [PATCH 4/5] Updated code snippted for websocket tutorial --- pages/docs/tutorials/websocket/index.md | 50 ++++++++++++------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/pages/docs/tutorials/websocket/index.md b/pages/docs/tutorials/websocket/index.md index ca3ac0363bc3..c508d329506e 100644 --- a/pages/docs/tutorials/websocket/index.md +++ b/pages/docs/tutorials/websocket/index.md @@ -264,31 +264,31 @@ components: summary: Action triggered when a successful WebSocket connection is established payload: $ref: '#/components/schemas/hello' -schemas: - hello: - type: object - properties: - type: - type: string - description: A hello string confirming WebSocket connection - connection_info: - type: object - properties: - app_id: - type: string - num_connections: - type: integer - debug_info: - type: object - properties: - host: - type: string - started: - type: string - build_number: - type: integer - approximate_connection_time: - type: integer + schemas: + hello: + type: object + properties: + type: + type: string + description: A hello string confirming WebSocket connection + connection_info: + type: object + properties: + app_id: + type: string + num_connections: + type: integer + debug_info: + type: object + properties: + host: + type: string + started: + type: string + build_number: + type: integer + approximate_connection_time: + type: integer reaction: type: object properties: From 0fe7b8835d102f5bbde0ef42b7bfd9af98a4b342 Mon Sep 17 00:00:00 2001 From: VaishnaviNandakumar Date: Mon, 20 May 2024 22:23:51 +0530 Subject: [PATCH 5/5] Removed mistakenly added file --- .github/workflows/notify-triagers.yml | 29 --------------------------- 1 file changed, 29 deletions(-) delete mode 100644 .github/workflows/notify-triagers.yml diff --git a/.github/workflows/notify-triagers.yml b/.github/workflows/notify-triagers.yml deleted file mode 100644 index c57dd97eb08b..000000000000 --- a/.github/workflows/notify-triagers.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Notify Docs-triagers - -on: - pull_request: - push: - branches: - - master - -jobs: - Notify-triagers: - runs-on: ubuntu-latest - steps: - - name: Checkout Repository - uses: actions/checkout@v4.1.1 - - - name: Check PR Changes - id: pr-changes - uses: tj-actions/changed-files@v42 - with: - files: | - **.md - - - name: Create Comment - if: steps.pr-changes.outputs.any_changed == 'true' - uses: mshick/add-pr-comment@v2.8.2 - with: - message: "The PR contains modifications to `.md` files, hence tagging Docs triagers for review and approval. - cc: @VaishnaviNandakumar" - repo-token: ${{ github.token }}