Skip to content

Commit

Permalink
Try to avoid running GitHub Actions twice on release PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Jan 1, 2022
1 parent 6daa4d6 commit a1ac7ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: release
on:
push:
branches:
- release**
- 'release**'
pull_request:
branches:
- release**
- 'release**'
jobs:
datasets:
name: datasets
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ name: style
on:
push:
branches:
- main
- release**
- '**'
pull_request:
branches:
- main
- release**
- '**'
jobs:
black:
name: black
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ name: tests
on:
push:
branches:
- main
- release**
- '**'
pull_request:
branches:
- main
- release**
- '**'
jobs:
mypy:
name: mypy
Expand Down

0 comments on commit a1ac7ab

Please sign in to comment.