From 024d8fafe95dbc541fe8104fba28dee0c369020c Mon Sep 17 00:00:00 2001 From: Dmitrii Kovanikov Date: Fri, 6 Nov 2020 17:11:00 +0000 Subject: [PATCH] [#23] Update default branch to main (#24) Resolves #23 --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a6cd47..2351a48 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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/setup-haskell@v1.1 id: setup-haskell-cabal @@ -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/setup-haskell@v1.1 name: Setup Haskell Stack