Skip to content

Commit 200da6a

Browse files
authored
fix(CI): remove leading slash from git ref
1 parent 39648b9 commit 200da6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- run: go test -v ./...
3030

3131
- name: Semantic Release
32-
if: ${{ github.ref == '/refs/heads/master' }}
32+
if: ${{ github.ref == 'refs/heads/master' }}
3333
id: semantic
3434
uses: cycjimmy/semantic-release-action@v2
3535
with:
@@ -40,7 +40,7 @@ jobs:
4040
docker_release:
4141
runs-on: ubuntu-latest
4242

43-
if: ${{ github.ref == '/refs/heads/master' }}
43+
if: ${{ github.ref == 'refs/heads/master' }}
4444

4545
needs:
4646
- build_and_release

0 commit comments

Comments
 (0)