Skip to content

Prohibit automatic commits#661

Merged
alexander-yevsyukov merged 5 commits into
masterfrom
prohibit-automatic-commits
May 21, 2026
Merged

Prohibit automatic commits#661
alexander-yevsyukov merged 5 commits into
masterfrom
prohibit-automatic-commits

Conversation

@alexander-yevsyukov
Copy link
Copy Markdown
Contributor

@alexander-yevsyukov alexander-yevsyukov commented May 20, 2026

This PR improves setup of the agentic work so that agents do not commit to Git at will.

Other notable changes

  • The update-copyright.sh script was improved to take into account variety of names of version properties declared in version.gradle.kts files across Spine SDK subprojects.

@alexander-yevsyukov alexander-yevsyukov self-assigned this May 20, 2026
@alexander-yevsyukov alexander-yevsyukov marked this pull request as ready for review May 20, 2026 19:31
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

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: ddd88f7b41

ℹ️ 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".

# Shape 1: literal.
v=$(printf '%s' "$content" \
| grep -E 'val[[:space:]]+versionToPublish[^=]*by[[:space:]]+extra\("' \
| grep -E "val[[:space:]]+${name}([[:space:]]*:[[:space:]]*String)?[[:space:]]+by[[:space:]]+extra\(\"" \
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Broaden key parser to accept nullable/typed version vals

The new parse_version() regex now only matches declarations shaped like val <key>: String by extra(...), so it fails on valid forms such as val versionToPublish: String? by extra("...") (and other typed variants previously accepted). In those repos the script exits with code 2 (cannot parse ...), and publish-version-gate.sh treats that as a configuration error and allows ./gradlew to proceed, effectively disabling the version-bump protection on feature branches. This is a regression from the prior [^=]* matching and can silently permit publishes without a required bump.

Useful? React with 👍 / 👎.

@alexander-yevsyukov alexander-yevsyukov merged commit 50988e1 into master May 21, 2026
2 checks passed
@alexander-yevsyukov alexander-yevsyukov deleted the prohibit-automatic-commits branch May 21, 2026 14:37
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