Skip to content

Commit

Permalink
fix: stop pr build env settings for tag push (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
aseem-deepsource committed Jul 24, 2023
1 parent 4137a0a commit 7b739fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}

- name: Set tag & repo name for PR builds
if: ${{ !contains(fromJson('["refs/heads/master" ]'), github.ref) }}
if: ${{ !contains(fromJson('["refs/heads/master" ]'), github.ref) && !startsWith(github.event.ref, 'refs/tags/v') }}
run: |
echo "IMAGE_TAG=PR-${{ github.event.number }}" >> $GITHUB_ENV
echo "REPO=deepsource-dev" >> $GITHUB_ENV
Expand Down

0 comments on commit 7b739fc

Please sign in to comment.