From 8498dd56382b049afdde938d1a44b2a5b4c5ec5f Mon Sep 17 00:00:00 2001 From: HiraiKyo Date: Thu, 8 Aug 2024 15:52:31 +0900 Subject: [PATCH 1/2] Test Webhook --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index d1027e6..186d2ec 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,12 @@ Basic libraries for manipulating point cloud. +## Installation + +```sh +pip install git+https://github.com/HiraiKyo/ply-processor-basics +``` + ## Methods ### Vector From ba39489cc138a2b1e41020810d7d239fe2eb207d Mon Sep 17 00:00:00 2001 From: HiraiKyo Date: Thu, 8 Aug 2024 15:55:32 +0900 Subject: [PATCH 2/2] Quit using slack module --- .github/workflows/google-chat-notification.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/google-chat-notification.yml b/.github/workflows/google-chat-notification.yml index 5948f37..0d45c19 100644 --- a/.github/workflows/google-chat-notification.yml +++ b/.github/workflows/google-chat-notification.yml @@ -9,13 +9,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Send notification to Google Chat - uses: 8398a7/action-slack@v3 - with: - status: ${{ job.status }} - text: | - Pull Request ${{ github.event.action }}: - ${{ github.event.pull_request.title }} - ${{ github.event.pull_request.html_url }} - webhook_url: ${{ secrets.GOOGLE_CHAT_WEBHOOK }} env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + WEBHOOK_URL: ${{ secrets.GOOGLE_CHAT_WEBHOOK }} + PR_TITLE: ${{ github.event.pull_request.title }} + PR_URL: ${{ github.event.pull_request.html_url }} + PR_ACTION: ${{ github.event.action }} + run: | + curl -X POST -H "Content-Type: application/json" -d '{ + "text": "Pull Request ${{ env.PR_ACTION }}:\n${{ env.PR_TITLE }}\n${{ env.PR_URL }}" + }' ${{ env.WEBHOOK_URL }} \ No newline at end of file