From 15a37858b8e6f81cc36fa3f0771099447e1387c2 Mon Sep 17 00:00:00 2001 From: Woosang Son Date: Thu, 23 Dec 2021 16:58:41 +0900 Subject: [PATCH] ci: fix branch name on ci script (#409) --- .github/workflows/test.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 866b1a0d63..36bb0e57dc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,14 +1,12 @@ 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 @@ -16,7 +14,7 @@ jobs: - 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