Skip to content

Commit

Permalink
ci: fix branch name on ci script (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
Woosang Son authored Dec 23, 2021
1 parent 0e7b3cf commit 15a3785
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
name: Tests / Code Coverage
# Tests / Code Coverage workflow runs unit tests and uploads a code coverage report
# This workflow is run on pushes to develop & every Pull Requests where a .go, .mod, .sum have been changed
env:
GOPRIVATE: "github.com/line/*"
# This workflow is run on pushes to main & every Pull Requests where a .go, .mod, .sum have been changed

on:
pull_request:
push:
branches:
- develop
- main
jobs:
cleanup-runs:
runs-on: ubuntu-latest
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/develop'"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'"

install-tparse:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 15a3785

Please sign in to comment.