Skip to content

fix: pr-build-zip uses explicit secrets instead of inherit - #1412

Merged
lihsaa591 merged 8 commits into
developfrom
tg-autopilot/fix-inherit-secrets
Sep 3, 2026
Merged

fix: pr-build-zip uses explicit secrets instead of inherit#1412
lihsaa591 merged 8 commits into
developfrom
tg-autopilot/fix-inherit-secrets

Conversation

@lihsaa591

Copy link
Copy Markdown
Contributor

Same root cause as themegrill/user-registration-pro#1542: this repo actually lives in themegrill (transferred from wpeverest), but this file still used secrets: inherit from before that was discovered.

Confirmed failing for real (3 recent runs, all Secret BOT_TOKEN is required, but not provided while calling) -- switches to naming every secret explicitly, same as every other themegrill repo.

lihsaa591 and others added 8 commits August 21, 2026 20:40
…ew-on-comment

Add Copilot review on comment
Same root cause as themegrill/user-registration-pro#1542: this repo
actually lives in themegrill (transferred from wpeverest), but this
file still used secrets: inherit from before that was discovered.
inherit cannot reliably cross the wpeverest/.github <-> themegrill
org boundary.
@tg-autopilot

Copy link
Copy Markdown
Contributor

Build for 08c8a62b is ready 🛎️

⬇️ Download user-registration-5.2.7.zip (8.1M)

Installs directly via Plugins → Add New → Upload Plugin.
Link expires in 30 days · updated Sep 3, 2026 5:14 PM +0545

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

It introduces a new workflow not reflected in the PR’s stated scope and uses a mutable reusable-workflow ref that should be pinned for safety.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates GitHub Actions workflows to address cross-organization reusable-workflow secret passing, and introduces a reusable workflow hook to request Copilot reviews via PR events/comments.

Changes:

  • Replaces secrets: inherit with explicit secret mappings for the pr-build-zip reusable workflow call.
  • Adds a new copilot-review-on-comment workflow that calls the shared reusable workflow in wpeverest/.github and passes BOT_TOKEN.
File summaries
File Description
.github/workflows/pr-build-zip.yml Switches from inherited secrets to explicit BOT_TOKEN/artifact credential mappings for the reusable ZIP-build workflow.
.github/workflows/copilot-review-on-comment.yml Adds a workflow that triggers on PR open / comment creation and calls the shared Copilot review reusable workflow with BOT_TOKEN.
Review details

Suppressed comments (1)

.github/workflows/copilot-review-on-comment.yml:11

  • Using a mutable ref (@master) for a reusable workflow can change behavior without any change in this repo (supply-chain / unexpected breakage). Prefer pinning to a specific commit SHA (or a version tag) and updating intentionally when needed.
    uses: wpeverest/.github/.github/workflows/copilot-review-on-comment.yml@master
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +1 to +7
name: Copilot review on comment

on:
pull_request_target:
types: [opened]
issue_comment:
types: [created]
@lihsaa591
lihsaa591 merged commit 4764e57 into develop Sep 3, 2026
6 checks passed
@lihsaa591
lihsaa591 deleted the tg-autopilot/fix-inherit-secrets branch September 3, 2026 11:31
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.

3 participants