Skip to content

Upgrade actions/checkout to v7 and let fork pull requests be checked out - #193

Draft
Jordanh1996 wants to merge 2 commits into
masterfrom
chore/upgrade-actions-checkout-v7
Draft

Jordanh1996 wants to merge 2 commits into
masterfrom
chore/upgrade-actions-checkout-v7

Conversation

@Jordanh1996

@Jordanh1996 Jordanh1996 commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Background

These workflows use actions/checkout v3 and v4. Their pull_request_target jobs can't check out pull requests opened from a fork: actions/checkout refuses with Refusing to check out fork pull request code from a 'pull_request_target' workflow.

Description

Every actions/checkout step in .github/workflows now uses v7. The pull_request_target checkouts of the pull request head get allow-unsafe-pr-checkout: true in the Frogbot and test workflows, which are already gated by the frogbot environment approval and the "safe to test" label, and persist-credentials: false so the token isn't left on disk for pull request code. Same setup as jfrog-idea-plugin, jfrog-vscode-extension and jfrog-cli-security.

Tests

CI on this PR. Since pull_request_target runs the base branch's workflow, the fork fix takes effect after merge.

  • All tests passed. If this feature is not already covered by the tests, I added new tests.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@Jordanh1996 Jordanh1996 changed the title Upgrade actions/checkout to v7 Upgrade actions/checkout to v7 and let fork pull requests be checked out Oct 4, 2026

This branch is waiting to be deployed

1 waiting deployment
frogbot — 397236d9 Waiting Oct 4, 2026 by Jordanh1996 via scan-pull-request #364
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