Correct the branches that triggers gh-action

This commit is contained in:
Cotes Chung 2022-02-04 06:46:06 +08:00
parent 3db6de0abb
commit 51688ccc9f
2 changed files with 4 additions and 3 deletions

View file

@ -2,9 +2,10 @@ name: 'Continuous Integration'
on: on:
push: push:
branches-ignore: branches-ignore:
- 'production' - 'release/**'
- 'docs'
tags-ignore: tags-ignore:
- '*' - '**'
paths-ignore: paths-ignore:
- '.github/**' - '.github/**'
- '!.github/workflows/ci.yml' - '!.github/workflows/ci.yml'

View file

@ -2,7 +2,7 @@ name: 'Automatic build'
on: on:
push: push:
branches: branches:
- master - main
paths-ignore: paths-ignore:
- .gitignore - .gitignore
- README.md - README.md