From 253a411426ce21d05db98670f8ea7fdfe71a559c Mon Sep 17 00:00:00 2001 From: Deepak Sattiraju Date: Tue, 16 Mar 2021 11:48:18 +0530 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fbeda9e..f442e20 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,7 @@ on: pull_request: push: branches: - - master + - main - 'releases/*' jobs: @@ -22,8 +22,8 @@ jobs: run: | echo "##[set-output name=branchname;]$(echo ${GITHUB_REF##*/})" - - name: 'Install dependency for master' - if: github.event.pull_request.base.ref == 'master' || steps.extract_branch.outputs.branchname == 'master' + - name: 'Install dependency for main' + if: github.event.pull_request.base.ref == 'main' || steps.extract_branch.outputs.branchname == 'main' run: | npm install @@ -78,4 +78,4 @@ jobs: "Authorization" = "token ${env:GITHUB_TOKEN}" } $body = "{ `"body`": `"${comment}`" }" - Invoke-RestMethod -Method POST -Uri $url -Headers $headers -Body $body \ No newline at end of file + Invoke-RestMethod -Method POST -Uri $url -Headers $headers -Body $body