Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/reusable-20-pr-meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ jobs:
with:
script: |
const scriptsPath = process.env.WORKFLOWS_SCRIPTS_PATH;
const { upsertPRBodySections } = require(`${scriptsPath}/.github/scripts/agents_pr_meta_update_body.js`);
await upsertPRBodySections({
const { run } = require(`${scriptsPath}/.github/scripts/agents_pr_meta_update_body.js`);
await run({
github, context, core,
prNumber: Number(process.env.PR_NUMBER),
Comment on lines 247 to 251

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Pass inputs to run to avoid skipping PR update

The new call to run does not populate the inputs argument that agents_pr_meta_update_body.js expects (run({github, context, core, inputs}) and discoverPr reads inputs.pr_number when the workflow is invoked via workflow_call/workflow_dispatch). With the current call signature, inputs is undefined and the function returns No pull request context detected; skipping update, so the PR body is never updated when this reusable workflow is executed via workflow_call—the only trigger supported here.

Useful? React with 👍 / 👎.

dryRun: process.env.DRY_RUN === 'true',
Expand Down
Loading