From 4d037c26d97100d1deab53590cd537f484219381 Mon Sep 17 00:00:00 2001 From: Josh Baird Date: Wed, 6 May 2026 13:39:43 -0400 Subject: [PATCH 01/13] Add release-please config and CI. Signed-off-by: Josh Baird --- .github/.release-please-manifest.json | 3 +++ .github/release-please-config.json | 21 +++++++++++++++++++++ .github/workflows/release-please.yaml | 27 +++++++++++++++++++++++++++ VERSION | 2 +- 4 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 .github/.release-please-manifest.json create mode 100644 .github/release-please-config.json create mode 100644 .github/workflows/release-please.yaml diff --git a/.github/.release-please-manifest.json b/.github/.release-please-manifest.json new file mode 100644 index 000000000..2a266f81f --- /dev/null +++ b/.github/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "3.7.0" +} diff --git a/.github/release-please-config.json b/.github/release-please-config.json new file mode 100644 index 000000000..bd20e761a --- /dev/null +++ b/.github/release-please-config.json @@ -0,0 +1,21 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "release-type": "simple", + "extra-files": [ + { + "type": "yaml", + "path": "charts/fluent-operator/Chart.yaml", + "jsonpath": "$.appVersion" + }, + { + "type": "yaml", + "path": "charts/fluent-operator-fluent-bit-crds/Chart.yaml", + "jsonpath": "$.appVersion" + }, + { + "type": "yaml", + "path": "charts/fluent-operator-fluentd-crds/Chart.yaml", + "jsonpath": "$.appVersion" + } + ] +} diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml new file mode 100644 index 000000000..ace50dd7f --- /dev/null +++ b/.github/workflows/release-please.yaml @@ -0,0 +1,27 @@ +name: Release + +on: + push: + branches: + - master + workflow_dispatch: + inputs: + release-as: + description: 'Override the next release version (e.g. 3.8.0). Leave empty for automatic versioning from conventional commits.' + required: false + type: string + +permissions: + contents: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + config-file: .github/release-please-config.json + manifest-file: .github/.release-please-manifest.json + release-as: ${{ inputs.release-as }} diff --git a/VERSION b/VERSION index b9bc2fdcb..7c69a55db 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -latest \ No newline at end of file +3.7.0 From 6026045b4dba9accd1c5fa53df5469301b7ceec7 Mon Sep 17 00:00:00 2001 From: Josh Baird Date: Wed, 6 May 2026 13:42:35 -0400 Subject: [PATCH 02/13] Add PR title linting. Signed-off-by: Josh Baird --- .github/PULL_REQUEST_TEMPLATE.md | 5 +++ .github/workflows/pr-title-lint.yaml | 48 ++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 .github/workflows/pr-title-lint.yaml diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 30d38db80..3d144c48f 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,3 +1,8 @@ + +