From daa9ae7a5db03333046281a039a2c93f6a28ff98 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 13 Aug 2026 04:12:00 +0000 Subject: [PATCH 1/3] Initial plan From e3fdf204118fc28b4523be65eda6e28bfef0e504 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 13 Aug 2026 04:13:33 +0000 Subject: [PATCH 2/3] Add explicit token permissions to cron workflow Co-authored-by: JarryShaw <15666417+JarryShaw@users.noreply.github.com> --- .github/workflows/cron-conda.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cron-conda.yml b/.github/workflows/cron-conda.yml index 66a815051..6a418e97a 100644 --- a/.github/workflows/cron-conda.yml +++ b/.github/workflows/cron-conda.yml @@ -6,6 +6,9 @@ on: push: branches: [main, ] +permissions: + contents: write + jobs: conda-update: name: Update requirements.txt From 6fa82a7f1c1a1286ca410746cdac20419ae33183 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 13 Aug 2026 04:14:11 +0000 Subject: [PATCH 3/3] Scope workflow token permissions by job Co-authored-by: JarryShaw <15666417+JarryShaw@users.noreply.github.com> --- .github/workflows/cron-conda.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cron-conda.yml b/.github/workflows/cron-conda.yml index 6a418e97a..590021a83 100644 --- a/.github/workflows/cron-conda.yml +++ b/.github/workflows/cron-conda.yml @@ -7,12 +7,14 @@ on: branches: [main, ] permissions: - contents: write + contents: read jobs: conda-update: name: Update requirements.txt runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v7 with: