Skip to content

Commit 75c40d2

Browse files
authored
Merge pull request #223 from bsipocz/CI_dont_run_on_forks
CI: do not run CI in the forks
2 parents ca09151 + 6094468 commit 75c40d2

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ on:
1313
- "docs/**"
1414
- ".github/workflows/**"
1515
- "!.github/workflows/release.yml"
16-
branches-ignore:
17-
- "dependabot/**"
18-
- "pre-commit-ci-update-config"
16+
branches:
17+
- master
1918
tags:
2019
- "**"
2120
workflow_dispatch:
@@ -27,7 +26,7 @@ jobs:
2726
- uses: actions/checkout@v4
2827
with:
2928
persist-credentials: false
30-
29+
3130
- uses: actions/setup-python@v5
3231
with:
3332
python-version: "3.10"

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Tests
22

33
on:
44
push:
5+
branches:
6+
- master
7+
tags:
8+
- '*'
59
pull_request:
610

711
env:

0 commit comments

Comments
 (0)