From cfd7c0e32ab750049df62b68ee6529696030e788 Mon Sep 17 00:00:00 2001 From: danibcorr <77023868+danibcorr@users.noreply.github.com> Date: Thu, 4 Dec 2025 21:56:27 +0100 Subject: [PATCH] Changes in GitHub Actions workflows --- .github/workflows/workflow.yml | 4 ++-- .../.github/workflows/workflow.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index b408b44..b19fb78 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -26,7 +26,7 @@ jobs: uv-extra: "--all-extras" build-deploy-mkdocs: - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' name: Build MkDocs Documentation runs-on: ubuntu-latest needs: setup @@ -58,7 +58,7 @@ jobs: docs-version: ${{ steps.version.outputs.version }} create-release: - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' name: Create Release runs-on: ubuntu-latest needs: build-deploy-mkdocs diff --git a/{{ cookiecutter.project_name }}/.github/workflows/workflow.yaml b/{{ cookiecutter.project_name }}/.github/workflows/workflow.yaml index baebbed..51be3d3 100644 --- a/{{ cookiecutter.project_name }}/.github/workflows/workflow.yaml +++ b/{{ cookiecutter.project_name }}/.github/workflows/workflow.yaml @@ -45,7 +45,7 @@ jobs: src-exclude: ${{'{{'}} env.SRC_PROJECT_TESTS {{'}}'}} build-deploy-mkdocs: - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' name: Build MkDocs Documentation runs-on: ubuntu-latest needs: setup-lint-test @@ -77,7 +77,7 @@ jobs: docs-version: ${{'{{'}} steps.version.outputs.version {{'}}'}} create-release: - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' name: Create Release runs-on: ubuntu-latest needs: build-deploy-mkdocs