Skip to content

Commit

Permalink
Echo labels to troubleshoot
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-vakil committed Jul 24, 2024
1 parent 255e4ed commit 06623de
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
- name: determine if we should create release and deploy
id: should-create-release
run: |
echo "labels: ${{ github.pull_request.labels.*.name }}"
if [[ ${{ github.ref_name == 'main' || github.pull_request.labels.*.name == 'deploy-to-sandbox' }} ]]; then
echo "SHOULD_CREATE_RELEASE=true" >> $GITHUB_ENV
else
Expand Down

0 comments on commit 06623de

Please sign in to comment.