Skip to content

Conversation

azu
Copy link
Member

@azu azu commented Aug 10, 2025

Summary

  • Add Node.js setup and pnpm install steps to the Create Release PR workflow
  • Remove redundant --yes flag from ci:versionup script call

Problem

The Create Release PR workflow was failing with exit code 1 because:

  1. Node.js was not set up before running pnpm commands
  2. Dependencies were not installed before running the version update scripts

Solution

  • Added Setup Node.js step with Node.js version 20
  • Added Install dependencies step to run pnpm install
  • Removed the redundant --yes flag from the pnpm run command (it's already included in the package.json script)

Test Plan

  • The workflow should successfully run when triggered
  • Version updates should work correctly
  • Release PR should be created with proper version changes

Fixes: https://github.com/secretlint/secretlint/actions/runs/16862855392/job/47765617958

🤖 Generated with Claude Code

- Add Node.js setup step before running pnpm commands
- Add pnpm install step to install dependencies
- Remove redundant --yes flag from ci:versionup script call (already included in package.json script)

Fixes the 'Process completed with exit code 1' error in the Create Release PR workflow
@azu azu added the Type: CI Changes to CI configuration files and scripts label Aug 10, 2025
@azu azu marked this pull request as ready for review August 10, 2025 14:55
@azu azu enabled auto-merge (squash) August 10, 2025 14:55
@azu azu merged commit 1d2a5ee into master Aug 10, 2025
16 checks passed
@azu azu deleted the fix/github-actions-release-workflow branch August 10, 2025 14:57
This was referenced Aug 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: CI Changes to CI configuration files and scripts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant