We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5d7942 commit da1e3bbCopy full SHA for da1e3bb
.github/workflows/build.yml
@@ -4,10 +4,10 @@ on:
4
pull_request:
5
types: [opened, synchronize, reopened]
6
branches:
7
- - master
+ - main
8
push:
9
10
11
12
jobs:
13
checkstyle:
@@ -194,8 +194,8 @@ jobs:
194
run: |
195
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
196
GIT_BRANCH=PR
197
- elif [[ "${{ github.event_name }}" == "push" && "${{ github.ref }}" == "refs/heads/master" ]]; then
198
- GIT_BRANCH=master
+ elif [[ "${{ github.event_name }}" == "push" && "${{ github.ref }}" == "refs/heads/main" ]]; then
+ GIT_BRANCH=main
199
fi
200
201
BUILD_ID=$(./create_build_id.sh $GIT_BRANCH ${{ github.run_number }} ${{ github.sha }})
0 commit comments