From 3b203dcee1f2353e0935f7e52284b5ddca6a07c9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 2 Dec 2025 14:40:56 +0000 Subject: [PATCH 1/2] Initial plan From 6fff2d652fbb7967752c17144d45d8ba076efeef Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 2 Dec 2025 14:48:09 +0000 Subject: [PATCH 2/2] Fix credential persistence vulnerability in release.md by adding persist-credentials: false Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/workflows/release.lock.yml | 2 ++ .github/workflows/release.md | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/release.lock.yml b/.github/workflows/release.lock.yml index 90e621d7835..cedfb01eaf4 100644 --- a/.github/workflows/release.lock.yml +++ b/.github/workflows/release.lock.yml @@ -65,6 +65,7 @@ # uses: actions/checkout@v5 # with: # fetch-depth: 0 +# persist-credentials: false # # - name: Release with gh-extension-precompile # uses: cli/gh-extension-precompile@v2 @@ -5877,6 +5878,7 @@ jobs: uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 with: fetch-depth: 0 + persist-credentials: false - name: Release with gh-extension-precompile uses: cli/gh-extension-precompile@9e2237c30f869ad3bcaed6a4be2cd43564dd421b # v2 with: diff --git a/.github/workflows/release.md b/.github/workflows/release.md index 50603ca47bb..050510f95c5 100644 --- a/.github/workflows/release.md +++ b/.github/workflows/release.md @@ -42,6 +42,7 @@ jobs: uses: actions/checkout@v5 with: fetch-depth: 0 + persist-credentials: false - name: Release with gh-extension-precompile uses: cli/gh-extension-precompile@v2