Skip to content

Commit

Permalink
[kowainik#336] Use default main branch (kowainik#337)
Browse files Browse the repository at this point in the history
Resolves kowainik#336
  • Loading branch information
vrom911 authored Nov 6, 2020
1 parent 9c23b00 commit 44a2ed3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 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:
build:
Expand All @@ -17,7 +17,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
Expand All @@ -44,7 +44,7 @@ jobs:
ghc: ["8.10.2"]
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
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
ghc: ["8.10.2"]
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
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
ghc: ["8.10.2"]
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
Expand All @@ -143,7 +143,7 @@ jobs:
ghc: ["8.10.2"]
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
Expand Down

0 comments on commit 44a2ed3

Please sign in to comment.