From dbbe0cae0418077919ee0d053e6356bd87ab7507 Mon Sep 17 00:00:00 2001 From: Space-Banane Date: Tue, 17 Feb 2026 16:17:28 +0100 Subject: [PATCH] fix: rename increment version step and separate push action --- .gitea/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index a6cf7a4..d06f677 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - name: web-ext lint run: npx web-ext lint -v - - name: Increment Version and Push + - name: Increment Version and Commit if: github.event_name == 'push' # Only push back on actual merges/pushes, not PRs run: | # 1. Increment logic @@ -42,10 +42,9 @@ jobs: git config --local user.email "space@reversed.dev" git config --local user.name "space" - # 3. Commit and Push + # 3. Commit (push will be done after publish) git add manifest.json package.json git commit -m "chore: bump version to $NEW_VERSION [skip ci]" - git push - name: web-ext build run: npx web-ext build -s . -a dist --overwrite-dest @@ -66,5 +65,8 @@ jobs: --api-secret ${{ secrets.MOZILLA_ADDON_API_SECRET }} \ --channel listed \ --source-dir dist \ - --artifacts-dir dist \ - --overwrite-dest + --artifacts-dir dist + + - name: Push changes + if: github.event_name == 'push' + run: git push