Skip to content

Commit

Permalink
Don't run on main branch, enable tests for pull_request
Browse files Browse the repository at this point in the history
  • Loading branch information
white-gecko committed Nov 14, 2023
1 parent 2aa4236 commit 7afaea7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: ci

on:
pull_request:
push:
branches:
- 'main'
- 'develop'
tags:
- '*'
Expand Down Expand Up @@ -34,6 +34,7 @@ jobs:
uses: coverallsapp/github-action@v2

release:
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: test
env:
Expand All @@ -53,6 +54,7 @@ jobs:
run: task gem:build gem:push

docker:
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: test
steps:
Expand Down

0 comments on commit 7afaea7

Please sign in to comment.