diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index a5f3ce3..c7b1213 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -1,6 +1,12 @@ name: Format -on: [push, pull_request] +on: + push: + branches: + - "main" + pull_request: + branches: + - "main" jobs: format: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 46759d5..527e04f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,6 +1,12 @@ name: Lint -on: [push, pull_request] +on: + push: + branches: + - "main" + pull_request: + branches: + - "main" jobs: lint: