Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
paths:
- "apps/web/**"
- "apps/server/**"
- ".github/workflows/cd.yml"
workflow_dispatch:

permissions:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- master
paths:
- "packages/cli/**"
- ".github/workflows/release-cli.yml"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Avoid publishing the unchanged CLI on workflow-only edits

When a push changes only this workflow, the new path filter now starts the full release pipeline even though packages/cli/package.json:3 still contains the previously released version. The publish job is unconditional after validation and runs pnpm publish at .github/workflows/release-cli.yml:90; npm documents that once a name/version pair is published, it can never be used again. Consequently, ordinary workflow-only maintenance pushes fail while trying to republish the existing CLI version instead of merely validating the workflow. Gate the publish job on a packages/cli/** change or split workflow validation from release publication.

Useful? React with 👍 / 👎.


permissions:
contents: read
Expand Down
Loading