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
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -1,6 +1,8 @@
|
|||||||
name: Build
|
name: Build
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
paths:
|
paths:
|
||||||
- src/**
|
- src/**
|
||||||
- .github/workflows/build.yml
|
- .github/workflows/build.yml
|
||||||
|
|||||||
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
@@ -1,6 +1,8 @@
|
|||||||
name: Docs
|
name: Docs
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
paths:
|
paths:
|
||||||
- .all-contributorsrc
|
- .all-contributorsrc
|
||||||
- .github/workflows/docs.yml
|
- .github/workflows/docs.yml
|
||||||
@@ -23,7 +25,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: EndBug/add-and-commit@v4.0.0
|
- uses: EndBug/add-and-commit@v4.0.0
|
||||||
with:
|
with:
|
||||||
message: "[auto] docs: update contributors badge"
|
message: '[auto] docs: update contributors badge'
|
||||||
add: README.md
|
add: README.md
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
2
.github/workflows/label-sync.yml
vendored
2
.github/workflows/label-sync.yml
vendored
@@ -1,6 +1,8 @@
|
|||||||
name: Sync labels
|
name: Sync labels
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
paths:
|
paths:
|
||||||
- '.github/labels.yml'
|
- '.github/labels.yml'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|||||||
Reference in New Issue
Block a user