Skip to content

tech writer#422

Merged
jth-nw merged 8 commits intomainfrom
dev
Mar 9, 2026
Merged

tech writer#422
jth-nw merged 8 commits intomainfrom
dev

Conversation

@jth-nw
Copy link
Copy Markdown
Collaborator

@jth-nw jth-nw commented Mar 9, 2026

No description provided.

james-haytko_nwx and others added 8 commits March 4, 2026 13:59
Move base_branch comparison into the same step that sets it, using the
shell variable directly instead of re-interpolating via ${{ }}. This
prevents potential code injection from untrusted PR branch names.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment on lines +29 to +35
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 1

- name: Fetch base commit for diff

Check failure

Code scanning / CodeQL

Checkout of untrusted code in trusted context High

Potential execution of untrusted code on a privileged workflow (
issue_comment
)
Comment on lines +165 to +172
- name: Checkout repository
if: steps.pr-info.outputs.is_fork == 'false' && steps.pr-info.outputs.targets_dev == 'true'
uses: actions/checkout@v4
with:
ref: ${{ steps.pr-info.outputs.branch }}
fetch-depth: 0

- name: Install Vale

Check failure

Code scanning / CodeQL

Checkout of untrusted code in trusted context High

Potential execution of untrusted code on a privileged workflow (
issue_comment
)

- name: Run doc-pr review
if: steps.changed-files.outputs.count > 0
uses: anthropics/claude-code-action@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Doc PR Review' step
Uses Step
uses 'anthropics/claude-code-action' with ref 'v1', not a pinned commit hash

- name: Handle @claude request
if: steps.pr-info.outputs.is_fork == 'false' && steps.pr-info.outputs.targets_dev == 'true'
uses: anthropics/claude-code-action@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Doc PR Review' step
Uses Step
uses 'anthropics/claude-code-action' with ref 'v1', not a pinned commit hash
@jth-nw jth-nw merged commit 69e7bce into main Mar 9, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant