From dee3ddffca9ac325d0dace7729704b9443ea6ce6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 28 Oct 2025 02:11:53 +0000 Subject: [PATCH 1/3] Initial plan From 30a093a0d549a80983b8f7bfbb7c166f576f7f9c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 28 Oct 2025 02:16:40 +0000 Subject: [PATCH 2/3] Add GitHub AI Moderator workflow Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com> --- .github/workflows/ai-moderator.yml | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/ai-moderator.yml diff --git a/.github/workflows/ai-moderator.yml b/.github/workflows/ai-moderator.yml new file mode 100644 index 0000000000..a9b825a233 --- /dev/null +++ b/.github/workflows/ai-moderator.yml @@ -0,0 +1,31 @@ +name: AI Moderator + +on: + issues: + types: [opened, edited] + issue_comment: + types: [created, edited] + pull_request: + types: [opened, edited] + pull_request_review: + types: [submitted, edited] + pull_request_review_comment: + types: [created, edited] + discussion: + types: [created, edited] + discussion_comment: + types: [created, edited] + +permissions: + issues: write + pull-requests: write + discussions: write + +jobs: + moderate: + runs-on: ubuntu-latest + steps: + - name: AI Moderator + uses: github/ai-moderator@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} From b729c8119db7410fc90c0f3da23a3d0efcc97e4e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 28 Oct 2025 02:18:07 +0000 Subject: [PATCH 3/3] Fix parameter name to use 'token' instead of 'github-token' Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com> --- .github/workflows/ai-moderator.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ai-moderator.yml b/.github/workflows/ai-moderator.yml index a9b825a233..859318ab95 100644 --- a/.github/workflows/ai-moderator.yml +++ b/.github/workflows/ai-moderator.yml @@ -28,4 +28,4 @@ jobs: - name: AI Moderator uses: github/ai-moderator@v1 with: - github-token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }}