1
0
mirror of https://github.com/schollz/croc synced 2024-07-08 11:55:46 +00:00

Update CI to run on main branch events

This commit is contained in:
stefins 2023-02-11 01:16:50 +05:30
parent 8b9977a7c4
commit 65760b1189
No known key found for this signature in database
GPG Key ID: CC24E0B98BA67B50
2 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
name: CI name: CI
on: on:
push: push:
branches: [master] branches: [main]
pull_request: pull_request:
branches: [master] branches: [main]
jobs: jobs:
unit-tests: unit-tests:

View File

@ -4,9 +4,9 @@ name: CD
# Controls when the action will run. # Controls when the action will run.
on: 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: push:
branches: [ master ] branches: [ main ]
pull_request: pull_request:
# Allows you to run this workflow manually from the Actions tab # Allows you to run this workflow manually from the Actions tab