From 20a1cdd7f2b2cdca65ff016ba6ce68626196b2f1 Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Thu, 16 Apr 2026 13:53:31 +0200 Subject: [PATCH] Update package version to 1.1.2 in package.json and modify code-analysis.yml to trigger analysis only on pull requests. --- .gitea/workflows/code-analysis.yml | 3 +-- package.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/code-analysis.yml b/.gitea/workflows/code-analysis.yml index 4d55d2e..29894b1 100644 --- a/.gitea/workflows/code-analysis.yml +++ b/.gitea/workflows/code-analysis.yml @@ -8,6 +8,7 @@ on: jobs: analyze: runs-on: ubuntu-latest + if: github.event_name == 'pull_request' steps: - name: Checkout uses: actions/checkout@v4 @@ -91,7 +92,6 @@ jobs: deploy-production: runs-on: ubuntu-latest - needs: analyze if: github.event_name == 'push' && github.ref == 'refs/heads/main' steps: - name: Prepare SSH @@ -122,7 +122,6 @@ jobs: deploy-test: runs-on: ubuntu-latest - needs: analyze if: github.event_name == 'push' && github.ref == 'refs/heads/dev' steps: - name: Prepare SSH diff --git a/package.json b/package.json index bf23981..f7fe6c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "harheimertc-website", - "version": "1.1.1", + "version": "1.1.2", "description": "Moderne Webseite für den Harheimer Tischtennis Club", "private": true, "type": "module",