From d2a55c6826ca35e759df5fe0ee964ac44bc6436c Mon Sep 17 00:00:00 2001 From: default Date: Thu, 11 Dec 2025 20:33:37 +0000 Subject: [PATCH 1/2] fix: add checkout step to classify-issue-severity workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The claude-code-action requires a git repository to be present for git configuration during setup. Without checking out the repository, the action fails with: fatal: not in a git directory error: Executable not found in $PATH: "claude" This adds the required actions/checkout@v4 step before running the claude-code-action to ensure the git directory exists. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- .github/workflows/classify-issue-severity.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/classify-issue-severity.yml b/.github/workflows/classify-issue-severity.yml index 649988d20392d..5503e0b30e3d3 100644 --- a/.github/workflows/classify-issue-severity.yml +++ b/.github/workflows/classify-issue-severity.yml @@ -21,6 +21,9 @@ jobs: result: ${{ steps.analysis.outputs.result }} steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Analyze Issue Severity id: analysis uses: anthropics/claude-code-action@f0c8eb29807907de7f5412d04afceb5e24817127 # v1.0.23 From a78077d586944a2434187503425be403d2aa4a05 Mon Sep 17 00:00:00 2001 From: default Date: Thu, 11 Dec 2025 20:47:44 +0000 Subject: [PATCH 2/2] fix: add persist-credentials: false to checkout step Addresses artipacked security warning about credential persistence through GitHub Actions artifacts. This prevents git credentials from being persisted in the workspace. --- .github/workflows/classify-issue-severity.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/classify-issue-severity.yml b/.github/workflows/classify-issue-severity.yml index 5503e0b30e3d3..6ad256d7546c7 100644 --- a/.github/workflows/classify-issue-severity.yml +++ b/.github/workflows/classify-issue-severity.yml @@ -23,6 +23,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + persist-credentials: false - name: Analyze Issue Severity id: analysis