Only run CI once for pull requests (#169)

Currently CI is triggered twice when a PR is updated (the second
run being triggered by the branch push). This removes that
trigger.
This commit is contained in:
Vaibhav Kamra 2022-06-08 14:45:06 -07:00 committed by GitHub
parent 53c7b4a149
commit a91a739d0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
name: CI
on:
push:
branches: ['**']
branches: [main]
pull_request:
branches: [main]