Skip to content

Commit

Permalink
[#23] Update default branch to main (#24)
Browse files Browse the repository at this point in the history
Resolves #23
  • Loading branch information
chshersh authored Nov 6, 2020
1 parent 928f563 commit 024d8fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: CI

# Trigger the workflow on push or pull request, but only for the master branch
# Trigger the workflow on push or pull request, but only for the main branch
on:
pull_request:
push:
branches: [master]
branches: [main]

jobs:
cabal:
Expand Down Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- uses: actions/checkout@v2
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/main'

- uses: actions/[email protected]
id: setup-haskell-cabal
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:

steps:
- uses: actions/checkout@v2
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/main'

- uses: actions/[email protected]
name: Setup Haskell Stack
Expand Down

0 comments on commit 024d8fa

Please sign in to comment.