Skip to content

Commit 110b7e2

Browse files
committed
ci(gh-actions): limit ci actions to master branch
This causes issues when a release is published, because the build scripts create a new branch because of the new tag that gets automatically pushed by GitHub
1 parent 57c075e commit 110b7e2

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Build
22
on:
33
push:
4+
branches:
5+
- master
46
paths:
57
- src/**
68
- .github/workflows/build.yml

.github/workflows/docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Docs
22
on:
33
push:
4+
branches:
5+
- master
46
paths:
57
- .all-contributorsrc
68
- .github/workflows/docs.yml
@@ -23,7 +25,7 @@ jobs:
2325

2426
- uses: EndBug/[email protected]
2527
with:
26-
message: "[auto] docs: update contributors badge"
28+
message: '[auto] docs: update contributors badge'
2729
add: README.md
2830
env:
2931
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/label-sync.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Sync labels
22
on:
33
push:
4+
branches:
5+
- master
46
paths:
57
- '.github/labels.yml'
68
workflow_dispatch:

0 commit comments

Comments
 (0)