Skip to content

run workflows when they themselves change - #32

Merged
bernoussama merged 1 commit into
masterfrom
support/openclaw
Jun 1, 2026
Merged

run workflows when they themselves change#32
bernoussama merged 1 commit into
masterfrom
support/openclaw

Conversation

@bernoussama

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings June 1, 2026 00:02

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.

Pull request overview

This PR updates deployment/release workflow path filters so each workflow runs when its own workflow file changes.

Changes:

  • Added .github/workflows/release-cli.yml to the Release CLI workflow push paths.
  • Added .github/workflows/cd.yml to the CD workflow push paths.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/release-cli.yml Triggers CLI release workflow when its workflow definition changes.
.github/workflows/cd.yml Triggers CD workflow when its workflow definition changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bernoussama
bernoussama merged commit 05ffb04 into master Jun 1, 2026
2 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5d50119cd3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

- 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 👍 / 👎.

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.

2 participants