Skip to content

ci: auto generate skills on toolbox version update#167

Open
twishabansal wants to merge 27 commits intomainfrom
skill-autogen
Open

ci: auto generate skills on toolbox version update#167
twishabansal wants to merge 27 commits intomainfrom
skill-autogen

Conversation

@twishabansal
Copy link
Copy Markdown
Contributor

@twishabansal twishabansal commented May 4, 2026

SSH resource: https://docs.cloud.google.com/build/docs/access-github-from-build#configure_the_build

Tested

  • Happy path at this commit.
  • Validation at this commit.

@twishabansal
Copy link
Copy Markdown
Contributor Author

/gcbrun

@twishabansal twishabansal added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label May 5, 2026
@twishabansal twishabansal marked this pull request as ready for review May 5, 2026 09:53
@twishabansal twishabansal requested review from a team as code owners May 5, 2026 09:53
@twishabansal
Copy link
Copy Markdown
Contributor Author

/gcbrun

@twishabansal twishabansal removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label May 6, 2026
Copy link
Copy Markdown
Contributor

@averikitsch averikitsch left a comment

Choose a reason for hiding this comment

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

When does this run?
I'm not sure I want to move in this direction. I rather invest in skills generation without DB connection support versus setting database infrastructure and managing Github from Cloud Build.

- -c
- |
# Write the secret key to the shared volume and secure it
printf "%s\n" "$$GITHUB_TOKEN" > /root/.ssh/id_ed25519
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this token for release please bot ? This bot does have CLA approval

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is the token to give write access to the repo. Cloud build needs us to set up SSH for repo write access.

git remote set-url origin git@github.com:gemini-cli-extensions/cloud-sql-postgresql.git
git add .
git commit -m "chore: auto-generate skills based on toolbox_version.txt update"
git push origin HEAD:$_HEAD_BRANCH
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

How does this create a PR?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This just creates a commit on the existing PR (toolbox_version.txt update)

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.

3 participants