@@ -3,10 +3,10 @@ name: CI/CD Pipeline
33on :
44 push :
55 branches :
6- - main
6+ - master
77 pull_request :
88 branches :
9- - main
9+ - master
1010
1111jobs :
1212 verify-version :
3333 echo "Previous version was ${PREVIOUS_VERSION}"
3434
3535 # fail if version wasn't incremented (only on main branch)
36- if [ "${{ github.ref }}" = "refs/heads/main " ]; then
36+ if [ "${{ github.ref }}" = "refs/heads/master " ]; then
3737 if [ "$CURRENT_VERSION" = "$PREVIOUS_VERSION" ]; then
3838 echo "ERROR: Version was not incremented! Please ensure the pre-commit hook ran."
3939 echo "Current: $CURRENT_VERSION, Previous: $PREVIOUS_VERSION"
@@ -109,7 +109,7 @@ jobs:
109109 name : Package Chrome Extension
110110 runs-on : ubuntu-latest
111111 needs : [verify-version, build]
112- if : github.ref == 'refs/heads/main '
112+ if : github.ref == 'refs/heads/master '
113113 steps :
114114 - name : Download Chrome build
115115 uses : actions/download-artifact@v4
@@ -135,7 +135,7 @@ jobs:
135135 name : Package Firefox Extension
136136 runs-on : ubuntu-latest
137137 needs : [verify-version, build]
138- if : github.ref == 'refs/heads/main '
138+ if : github.ref == 'refs/heads/master '
139139 steps :
140140 - name : Download Firefox build
141141 uses : actions/download-artifact@v4
@@ -172,7 +172,7 @@ jobs:
172172 name : Create Release
173173 runs-on : ubuntu-latest
174174 needs : [verify-version, package-chrome, package-firefox]
175- if : github.ref == 'refs/heads/main '
175+ if : github.ref == 'refs/heads/master '
176176 permissions :
177177 contents : write
178178 steps :
0 commit comments