From 49d5b2c9fe09e9d075794190fe2207740ea9beb3 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Fri, 15 May 2026 20:48:00 +0200 Subject: [PATCH] refactor(ci): adopt wp-git-action 2.2.0 commit-message-from 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. --- .woodpecker/build-cpp-qt.yaml | 6 ++---- .woodpecker/build-go.yaml | 6 ++---- .woodpecker/build-php.yaml | 6 ++---- .woodpecker/build-typescript-axios.yaml | 6 ++---- 4 files changed, 8 insertions(+), 16 deletions(-) diff --git a/.woodpecker/build-cpp-qt.yaml b/.woodpecker/build-cpp-qt.yaml index 7e26353..258fe36 100644 --- a/.woodpecker/build-cpp-qt.yaml +++ b/.woodpecker/build-cpp-qt.yaml @@ -53,7 +53,7 @@ steps: when: - event: tag push_target_repo: - image: quay.io/thegeeklab/wp-git-action + image: quay.io/thegeeklab/wp-git-action:v2.2.0 settings: path: libre-graph-api-cpp-qt-client remote_url: https://github.com/opencloud-eu/libre-graph-api-cpp-qt-client.git @@ -62,9 +62,7 @@ steps: - commit - push followtags: true - message: ${CI_COMMIT_MESSAGE} - author_name: ${CI_COMMIT_AUTHOR} - author_email: ${CI_COMMIT_AUTHOR_EMAIL} + commit-message-from: CI_COMMIT_MESSAGE netrc_password: from_secret: github_token netrc_username: diff --git a/.woodpecker/build-go.yaml b/.woodpecker/build-go.yaml index 2ce26b8..ff47e6d 100644 --- a/.woodpecker/build-go.yaml +++ b/.woodpecker/build-go.yaml @@ -53,7 +53,7 @@ steps: when: - event: tag push_target_repo: - image: quay.io/thegeeklab/wp-git-action + image: quay.io/thegeeklab/wp-git-action:v2.2.0 settings: path: libre-graph-api-go remote_url: https://github.com/opencloud-eu/libre-graph-api-go.git @@ -62,9 +62,7 @@ steps: - commit - push followtags: true - message: ${CI_COMMIT_MESSAGE} - author_name: ${CI_COMMIT_AUTHOR} - author_email: ${CI_COMMIT_AUTHOR_EMAIL} + commit-message-from: CI_COMMIT_MESSAGE netrc_password: from_secret: github_token netrc_username: diff --git a/.woodpecker/build-php.yaml b/.woodpecker/build-php.yaml index d7584f6..f4bb49a 100644 --- a/.woodpecker/build-php.yaml +++ b/.woodpecker/build-php.yaml @@ -53,7 +53,7 @@ steps: when: - event: tag push_target_repo: - image: quay.io/thegeeklab/wp-git-action + image: quay.io/thegeeklab/wp-git-action:v2.2.0 settings: path: libre-graph-api-php remote_url: https://github.com/opencloud-eu/libre-graph-api-php.git @@ -62,9 +62,7 @@ steps: - commit - push followtags: true - message: ${CI_COMMIT_MESSAGE} - author_name: ${CI_COMMIT_AUTHOR} - author_email: ${CI_COMMIT_AUTHOR_EMAIL} + commit-message-from: CI_COMMIT_MESSAGE netrc_password: from_secret: github_token netrc_username: diff --git a/.woodpecker/build-typescript-axios.yaml b/.woodpecker/build-typescript-axios.yaml index b3a0cd8..888d3ea 100644 --- a/.woodpecker/build-typescript-axios.yaml +++ b/.woodpecker/build-typescript-axios.yaml @@ -53,7 +53,7 @@ steps: when: - event: tag push_target_repo: - image: quay.io/thegeeklab/wp-git-action + image: quay.io/thegeeklab/wp-git-action:v2.2.0 settings: path: libre-graph-api-typescript-axios remote_url: https://github.com/opencloud-eu/libre-graph-api-typescript-axios.git @@ -62,9 +62,7 @@ steps: - commit - push followtags: true - message: ${CI_COMMIT_MESSAGE} - author_name: ${CI_COMMIT_AUTHOR} - author_email: ${CI_COMMIT_AUTHOR_EMAIL} + commit-message-from: CI_COMMIT_MESSAGE netrc_password: from_secret: github_token netrc_username: