fix: Address silent failure in release-patch-1-create-pr workflow (#12339)

This commit is contained in:
matt korwel
2025-10-30 20:09:22 -07:00
committed by GitHub
parent f566df91c8
commit e762cda55d
2 changed files with 2 additions and 2 deletions

View File

@@ -99,12 +99,12 @@ jobs:
--channel="${PATCH_CHANNEL}" \
--pullRequestNumber="${ORIGINAL_PR}" \
--dry-run="${DRY_RUN}"
echo "EXIT_CODE=$?" >> "$GITHUB_OUTPUT"
} 2>&1 | tee >(
echo "LOG_CONTENT<<EOF" >> "$GITHUB_ENV"
cat >> "$GITHUB_ENV"
echo "EOF" >> "$GITHUB_ENV"
)
echo "EXIT_CODE=${PIPESTATUS[0]}" >> "$GITHUB_OUTPUT"
- name: 'Comment on Original PR'
if: 'always() && inputs.original_pr'

View File

@@ -174,7 +174,7 @@ async function main() {
`📝 Creating commit with conflict markers for manual resolution...`,
);
execSync('git add .');
execSync(`git commit --no-edit`);
execSync(`git commit --no-edit --no-verify`);
console.log(`✅ Committed cherry-pick with conflict markers`);
} else {
// Re-throw if it's not a conflict error