From 87f7355cb71a33c7de15102a041f5b57855bf9b6 Mon Sep 17 00:00:00 2001 From: Ernest McCarter Date: Fri, 6 Mar 2026 19:10:27 -0800 Subject: [PATCH] test: ci --- .github/workflows/release.yml | 10 +++++++++- .sampo/changesets/pompous-earl-lempo.md | 11 +++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .sampo/changesets/pompous-earl-lempo.md diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1e0b57c..50db3c5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,12 +20,20 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Check for changesets + id: changesets + run: | + COUNT=$(find .sampo/changesets -name '*.md' 2>/dev/null | wc -l | tr -d ' ') + echo "count=$COUNT" >> "$GITHUB_OUTPUT" - uses: astral-sh/setup-uv@v6 + if: steps.changesets.outputs.count != '0' - run: uv sync --all-packages + if: steps.changesets.outputs.count != '0' - name: Create Release Pull Request + if: steps.changesets.outputs.count != '0' uses: bruits/sampo/crates/sampo-github-action@main with: - command: release + command: auto env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.sampo/changesets/pompous-earl-lempo.md b/.sampo/changesets/pompous-earl-lempo.md new file mode 100644 index 0000000..e25c9f6 --- /dev/null +++ b/.sampo/changesets/pompous-earl-lempo.md @@ -0,0 +1,11 @@ +--- +pypi/generaltranslation: patch +pypi/generaltranslation-icu-messageformat-parser: patch +pypi/generaltranslation-intl-messageformat: patch +pypi/generaltranslation-supported-locales: patch +pypi/gt-fastapi: patch +pypi/gt-flask: patch +pypi/gt-i18n: patch +--- + +test: ci