From 1ba0b52c4f06eab336d59ecc490784786aa96c6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Gremaud?= Date: Wed, 4 Dec 2024 07:58:17 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=92=9A=20Update=20release=20workflow?= =?UTF-8?q?=20to=20use=20'git=20commit=20-a'=20for=20automatic=20staging?= =?UTF-8?q?=20(#14)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dca6916..4034262 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,11 +57,13 @@ jobs: - name: Commit and push changes if: ${{ steps.release-version.outputs.release-version != steps.current-version.outputs.current-version }} run: | - git add . - git commit -m "🚀 Release $RELEASE_VERSION" + git commit -a -m "🚀 Release $RELEASE_VERSION" || exit 0 git tag -f $RELEASE_VERSION git push origin $RELEASE_VERSION --force git push origin HEAD:main + env: + RELEASE_VERSION: ${{ steps.release-version.outputs.release-version }} + publish-docs: runs-on: ubuntu-latest From eb9f4ad5c265fee3008d8669c5e45fbe92c774fb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 4 Dec 2024 08:03:35 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=E2=AC=86=20[pre-commit.ci]=20pre-commit=20?= =?UTF-8?q?autoupdate=20(#12)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.0 → v0.8.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.0...v0.8.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Loïc Gremaud --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6fb9a26..6c578da 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.0 + rev: v0.8.1 hooks: - id: ruff args: [ --fix ]