Skip to content

refactor(ci): adopt wp-git-action 2.2.0 commit-message-from#48

Open
dschmidt wants to merge 1 commit into
mainfrom
fix/ci-quote-interpolated-message
Open

refactor(ci): adopt wp-git-action 2.2.0 commit-message-from#48
dschmidt wants to merge 1 commit into
mainfrom
fix/ci-quote-interpolated-message

Conversation

@dschmidt
Copy link
Copy Markdown
Contributor

@dschmidt dschmidt commented May 14, 2026

Drops the YAML-substitution workaround for commit metadata and lets wp-git-action v2.2.0 read the variables from its own environment instead.

  • Pin quay.io/thegeeklab/wp-git-action:v2.2.0, which introduces commit-message-from (thegeeklab/wp-git-action#357).
  • Replace message: ${CI_COMMIT_MESSAGE} with commit-message-from: CI_COMMIT_MESSAGE. The plugin reads the env var at runtime, so the value is no longer spliced into YAML and cannot break on a : or " in the commit subject.
  • Drop the explicit author_name and author_email settings. The plugin already falls back to CI_COMMIT_AUTHOR and CI_COMMIT_AUTHOR_EMAIL via its built-in Sources.

Applies to all four .woodpecker/build-*.yaml pipelines.

Drop the YAML-substitution workaround for commit metadata and let the
plugin read the variables from its own environment instead.

- Pin quay.io/thegeeklab/wp-git-action:v2.2.0 (introduces
  commit-message-from in thegeeklab/wp-git-action#357).
- Replace 'message: ${CI_COMMIT_MESSAGE}' with
  'commit-message-from: CI_COMMIT_MESSAGE'. The plugin reads the env
  var at runtime, so the value is no longer spliced into YAML and
  cannot break on ':' or '"' in the commit subject.
- Drop the explicit 'author_name' and 'author_email' settings. The
  plugin already falls back to CI_COMMIT_AUTHOR and
  CI_COMMIT_AUTHOR_EMAIL via its built-in Sources.
@dschmidt dschmidt force-pushed the fix/ci-quote-interpolated-message branch from 8cb0ab8 to 49d5b2c Compare May 15, 2026 18:48
@dschmidt dschmidt changed the title fix(ci): quote interpolated CI_COMMIT_MESSAGE/AUTHOR/EMAIL settings refactor(ci): adopt wp-git-action 2.2.0 commit-message-from May 15, 2026
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