mirror of https://github.com/schollz/croc.git
Merge pull request #533 from stefins/patch-1
Update CI to run on main branch events
This commit is contained in:
commit
8f75bb8299
|
@ -1,9 +1,9 @@
|
|||
name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
unit-tests:
|
||||
|
|
|
@ -4,9 +4,9 @@ name: CD
|
|||
|
||||
# Controls when the action will run.
|
||||
on:
|
||||
# Triggers the workflow on push or pull request events but only for the master branch
|
||||
# Triggers the workflow on push or pull request events but only for the main branch
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
|
|
Loading…
Reference in New Issue