From a0506491c8b9d2dcfba94c6997d0c38456be176e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 17 Mar 2026 12:30:57 +0000 Subject: [PATCH 1/2] Initial plan From 8b634c940495a6eaef1209f8e6cc662745a0a8d9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 17 Mar 2026 12:42:24 +0000 Subject: [PATCH 2/2] fix: replace expired GH_AW_BOT_DETECTION_TOKEN with GITHUB_TOKEN in bot-detection precompute step Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/workflows/bot-detection.lock.yml | 4 ++-- .github/workflows/bot-detection.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bot-detection.lock.yml b/.github/workflows/bot-detection.lock.yml index 10498aacb49..32ea61084f3 100644 --- a/.github/workflows/bot-detection.lock.yml +++ b/.github/workflows/bot-detection.lock.yml @@ -23,7 +23,7 @@ # # Investigates suspicious repository activity and maintains a single triage issue # -# gh-aw-metadata: {"schema_version":"v2","frontmatter_hash":"45b5b917f22b3ce4657e92078ab1e4c13bda07e7c2497a72f877acf95ead5941","strict":true} +# gh-aw-metadata: {"schema_version":"v2","frontmatter_hash":"f847d84805ff36145ce98c043742c4640b7d8a9ecb702994ee8ffdbfbdb49117","strict":true} name: "Bot Detection" "on": @@ -920,7 +920,7 @@ jobs: id: precompute uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: - github-token: ${{ secrets.GH_AW_BOT_DETECTION_TOKEN || secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { owner, repo } = context.repo; const HOURS_BACK = 6; diff --git a/.github/workflows/bot-detection.md b/.github/workflows/bot-detection.md index aaaea30773b..689ba25fed0 100644 --- a/.github/workflows/bot-detection.md +++ b/.github/workflows/bot-detection.md @@ -33,7 +33,7 @@ jobs: id: precompute uses: actions/github-script@v8 with: - github-token: ${{ secrets.GH_AW_BOT_DETECTION_TOKEN || secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const { owner, repo } = context.repo; const HOURS_BACK = 6;