Skip to content

fix: avoid persisting release checkout credentials - #71802

Merged
pelikhan merged 1 commit into
mainfrom
pelikhan-cuddly-barnacle
Oct 25, 2026
Merged

pelikhan merged 1 commit into
mainfrom
pelikhan-cuddly-barnacle

Conversation

@pelikhan

Copy link
Copy Markdown
Collaborator

The release job retains checkout credentials even though it only reads local Git history and authenticates release API calls through GH_TOKEN. Disable unnecessary persistence in that job while preserving full history and the separate push_tag job's authentication for git push.

Regenerates the release lock file and adds a regression check covering both authored and compiled jobs. No linter suppressions or external workflow changes are included.

Validation: The targeted regression passes and all 348 workflows compile. The required make agent-report-progress gate passes build, schema freshness, and changed-lock metadata checks, but remains blocked by drift in 27 unrelated, unchanged workflow lock files. Those files were left untouched.

Keep checkout authentication for tag pushes while disabling unnecessary credential retention in the separate release job. Cover both source and compiled jobs with a credential regression test.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review October 25, 2026 03:47
Copilot AI max review requested due to automatic review settings October 25, 2026 03:47
@pelikhan
pelikhan merged commit 0a87def into main Oct 25, 2026
32 of 46 checks passed
@pelikhan
pelikhan deleted the pelikhan-cuddly-barnacle branch October 25, 2026 03:47
@github-actions

github-actions Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer

@github-actions

github-actions Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft.

Design Decision Gate 🏗️

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Design Decision Gate 🏗️ · opus55 · ~12 AIC · ⌖ ~32 AIC · ◇ ~3 AIC · ⊞ 1.9K · ◷

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer

@github-actions

github-actions Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Test Quality Sentinel · haiku45 · ~6 AIC · ⌖ ~11 AIC · ◇ ~3 AIC · ⊞ 9.2K · ◷

🧪 Test quality analysis by Test Quality Sentinel

@github-actions

github-actions Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Ponytail Reviewer · gpt56 · ~6 AIC · ⌖ ~6 AIC · ⊞ 14.8K · ◷

Generated by Ponytail Reviewer for #71802

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Repository policy requires human security sign-off for release checkout credential changes, but the PR description records no approval.

1 open issue
What changed in this PR

Hardens gh-aw’s release workflow by removing unnecessary checkout credential persistence while preserving release API authentication and tag publishing.

Changes:

  • Disables credential persistence in the release job while retaining full Git history.
  • Regenerates the compiled workflow and associated metadata.
  • Adds regression checks for checkout credentials and authentication in both source and compiled jobs.
File Description
scripts/​release-workflows.test.cjs Adds credential and authentication regression checks.
.github/​workflows/​release.md Disables credential persistence for the release checkout.
.github/​workflows/​release.lock.yml Carries the checkout change into the executable workflow.

Review effort: Max

with:
fetch-depth: 0
persist-credentials: true
persist-credentials: false
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.93.4

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.

2 participants