Skip to content

Commit

Permalink
ci: Run workflows only on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
mahendrapaipuri committed Oct 11, 2023
1 parent 76aefa8 commit 53f87c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Check Release
on:
push:
branches:
- '*'
branches: [ master, main ]
pull_request:
branches:
- '*'
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ name: Lint

on:
push:
branches:
- '*'
branches: [ main ]
pull_request:
branches:
- '*'
branches: [ main ]

jobs:
lint:
Expand Down

0 comments on commit 53f87c2

Please sign in to comment.