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 }}