Skip to content

ci: auto-generate and commit skills on branch push#53

Merged
jpoehnelt merged 1 commit intomainfrom
feat/auto-generate-skills-workflow
Mar 4, 2026
Merged

ci: auto-generate and commit skills on branch push#53
jpoehnelt merged 1 commit intomainfrom
feat/auto-generate-skills-workflow

Conversation

@jpoehnelt
Copy link
Copy Markdown
Member

Summary

Adds a new Generate Skills GitHub Actions workflow that runs cargo run -- generate-skills on every branch push (excluding main) and auto-commits any changes back to the branch.

This prevents the "Skills are out of date" CI failure that happens when an API doc is updated remotely between when a branch was cut and when CI runs.

How it works

  1. Triggers on push to any branch except main
  2. Runs cargo run -- generate-skills
  3. If any skills/ or docs/skills.md files changed, commits with message chore: regenerate skills [skip ci] and pushes back to the branch
  4. The [skip ci] tag prevents an infinite loop of triggered runs
  5. Uses concurrency to cancel in-progress runs if a new push comes in

Permissions

Uses contents: write permission on GITHUB_TOKEN — no extra secrets needed.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 4, 2026

🦋 Changeset detected

Latest commit: 9935dde

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jpoehnelt jpoehnelt merged commit 8a40dba into main Mar 4, 2026
22 checks passed
@jpoehnelt jpoehnelt deleted the feat/auto-generate-skills-workflow branch March 4, 2026 08:01
shigechika pushed a commit to shigechika/gws-cli that referenced this pull request Mar 20, 2026
…generate-skills-workflow

ci: auto-generate and commit skills on branch push
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.

1 participant