From 6094468e2ab7ae183d91b003995643c594e352a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Mon, 16 Jun 2025 21:19:05 -0700 Subject: [PATCH] CI: do not run CI in the forks --- .github/workflows/release.yml | 7 +++---- .github/workflows/tests.yml | 4 ++++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b04298..85c452e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,9 +13,8 @@ on: - "docs/**" - ".github/workflows/**" - "!.github/workflows/release.yml" - branches-ignore: - - "dependabot/**" - - "pre-commit-ci-update-config" + branches: + - master tags: - "**" workflow_dispatch: @@ -27,7 +26,7 @@ jobs: - uses: actions/checkout@v4 with: persist-credentials: false - + - uses: actions/setup-python@v5 with: python-version: "3.10" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 03d34ce..cff3495 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,6 +2,10 @@ name: Tests on: push: + branches: + - master + tags: + - '*' pull_request: env: