From e79680a46da380656fb7f23010e8ba54f5588821 Mon Sep 17 00:00:00 2001 From: Yuriy Kirillov Date: Sun, 23 Aug 2026 00:22:31 +0200 Subject: [PATCH] chore: bump baseline to v0.15.0, adopt release-please embedder policy Baseline v0.14.0 added an optional "extra" embedder config for release-please conventions (chore: release title pattern, standard PR header/footer, release-please-action usage, and a semantic PR title check). Opt in via embedder.yml's new `extra` input, add the two missing release-please-config.json keys, and add pr.yml running amannn/action-semantic-pull-request to lint PR titles - all four baseline workflow pins bumped to v0.15.0 to match. Verified locally against baseline's actual check-embedder script: all 10 fragments (4 default + 6 release-please) pass. --- .github/workflows/embedder.yml | 4 +++- .github/workflows/github.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/notify-telegram-pr.yml | 2 +- .github/workflows/pr.yml | 13 +++++++++++++ AGENTS.md | 12 +++++++----- release-please-config.json | 2 ++ 7 files changed, 28 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/pr.yml diff --git a/.github/workflows/embedder.yml b/.github/workflows/embedder.yml index f6de06d..47bf1a4 100644 --- a/.github/workflows/embedder.yml +++ b/.github/workflows/embedder.yml @@ -5,4 +5,6 @@ on: pull_request: jobs: embedder: - uses: rubykatzen/baseline/.github/workflows/embedder-shared.yml@v0.13.1 + uses: rubykatzen/baseline/.github/workflows/embedder-shared.yml@v0.15.0 + with: + extra: '["release-please"]' diff --git a/.github/workflows/github.yml b/.github/workflows/github.yml index 1edd734..547c081 100644 --- a/.github/workflows/github.yml +++ b/.github/workflows/github.yml @@ -5,4 +5,4 @@ on: pull_request: jobs: github: - uses: rubykatzen/baseline/.github/workflows/github-shared.yml@v0.13.1 + uses: rubykatzen/baseline/.github/workflows/github-shared.yml@v0.15.0 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ca35284..0c0de3f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,4 +5,4 @@ on: pull_request: jobs: lint: - uses: rubykatzen/baseline/.github/workflows/lint-shared.yml@v0.13.1 + uses: rubykatzen/baseline/.github/workflows/lint-shared.yml@v0.15.0 diff --git a/.github/workflows/notify-telegram-pr.yml b/.github/workflows/notify-telegram-pr.yml index 27b7794..5ad54f5 100644 --- a/.github/workflows/notify-telegram-pr.yml +++ b/.github/workflows/notify-telegram-pr.yml @@ -7,7 +7,7 @@ on: workflow_dispatch: jobs: notify: - uses: rubykatzen/baseline/.github/workflows/notify-telegram-pr-shared.yml@v0.13.1 + uses: rubykatzen/baseline/.github/workflows/notify-telegram-pr-shared.yml@v0.15.0 secrets: TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 0000000..32bb054 --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,13 @@ +name: Pull request +on: + pull_request_target: + types: [opened, reopened, edited, synchronize] +jobs: + pull-request-title: + runs-on: ubuntu-latest + permissions: + pull-requests: read + steps: + - uses: amannn/action-semantic-pull-request@v6 + env: + GITHUB_TOKEN: ${{ github.token }} diff --git a/AGENTS.md b/AGENTS.md index 2a9a765..f0136cc 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -40,12 +40,14 @@ This repository uses [Baseline](https://github.com/rubykatzen/baseline) to verify shared content fragments across repositories. Do not change a required fragment only in the consuming repository. Change -the fragment in `config/embedder.yml` in Baseline and release it. Dependabot -will then update the Baseline workflow version in consuming repositories and -CI will show the required fragment diff. +the fragment in `config/embedder.yml` or the selected extra configuration in +Baseline and release it. Dependabot will then update the Baseline workflow +version in consuming repositories and CI will show the required fragment +diff. A repository-specific exception must be declared through the `skip` input of -`embedder-shared.yml`. +`embedder-shared.yml`. Optional policies are selected through its `extra` +input. ## Repository Overview @@ -342,7 +344,7 @@ services: GitHub Actions workflow (`.github/workflows/release.yml`) manages releases via [Release Please](https://github.com/googleapis/release-please): -1. On every push to `main`, Release Please opens/updates a `chore(main): release X.Y.Z` PR with the computed version and generated `CHANGELOG.md` entry +1. On every push to `main`, Release Please opens/updates a `chore: release X.Y.Z` PR with the computed version and generated `CHANGELOG.md` entry 2. Merging that PR tags the release and publishes a GitHub Release 3. A job then builds and uploads `flightdeck-apps.zip` from the `apps/` catalog. Deploy refs may use `@latest` as an alias resolved through GitHub's latest release API (`deploy/resolve.py`); no mutable `latest` release/tag is created. diff --git a/release-please-config.json b/release-please-config.json index 86dca03..6e02925 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,6 +1,8 @@ { "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", "release-type": "simple", + "include-component-in-tag": false, + "pull-request-title-pattern": "chore: release ${version}", "pull-request-header": "This pull request prepares the next release.", "pull-request-footer": "[Release Please documentation](https://github.com/googleapis/release-please#release-please)", "packages": {