ci: run on push in main only

This commit is contained in:
Nathaniel Landau
2023-02-05 00:11:16 -05:00
parent 2cca54320c
commit 7eb8ff5fa8
2 changed files with 11 additions and 5 deletions

View File

@@ -2,11 +2,14 @@
name: Commit Linter
on:
pull_request:
types: [opened, reopened]
push:
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize
permissions: # added using https://github.com/step-security/secure-workflows
contents: read