Skip to content

Commit

Permalink
ci: only run ling + build on 'main'
Browse files Browse the repository at this point in the history
Avoids double runs on pull requests
  • Loading branch information
bkueng committed Dec 15, 2023
1 parent 45ff50a commit cb5c099
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and test
on:
push:
branches:
- '*'
- 'main'
pull_request:
branches:
- '*'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Lint
on:
push:
branches:
- '*'
- 'main'
pull_request:
branches:
- '**'
Expand Down

0 comments on commit cb5c099

Please sign in to comment.