From ef828d48c5efba74ce0492694a0d5098920b0f57 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Mon, 21 Jul 2025 14:59:08 +0000 Subject: [PATCH] Update workflow that handles contributor comments to the latest version Companion to https://github.com/learningequality/.github/pull/29 --- .../workflows/call-contributor-issue-comment.yml | 14 ++++++++++++++ .github/workflows/notify_team_new_comment.yml | 11 ----------- 2 files changed, 14 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/call-contributor-issue-comment.yml delete mode 100644 .github/workflows/notify_team_new_comment.yml diff --git a/.github/workflows/call-contributor-issue-comment.yml b/.github/workflows/call-contributor-issue-comment.yml new file mode 100644 index 0000000..4e8b7db --- /dev/null +++ b/.github/workflows/call-contributor-issue-comment.yml @@ -0,0 +1,14 @@ +name: Handle contributor comment on GitHub issue + +on: + issue_comment: + types: [created] + +jobs: + call-workflow: + uses: learningequality/.github/.github/workflows/contributor-issue-comment.yml@main + secrets: + LE_BOT_APP_ID: ${{ secrets.LE_BOT_APP_ID }} + LE_BOT_PRIVATE_KEY: ${{ secrets.LE_BOT_PRIVATE_KEY }} + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + SLACK_COMMUNITY_NOTIFICATIONS_WEBHOOK_URL: ${{ secrets.SLACK_COMMUNITY_NOTIFICATIONS_WEBHOOK_URL }} diff --git a/.github/workflows/notify_team_new_comment.yml b/.github/workflows/notify_team_new_comment.yml deleted file mode 100644 index 07a837e..0000000 --- a/.github/workflows/notify_team_new_comment.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: Send a slack notification when a contributor comments on issue - -on: - issue_comment: - types: [created] - -jobs: - contributor_issue_comment: - uses: learningequality/.github/.github/workflows/notify_team_new_comment.yml@main - secrets: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}