Skip to content

Commit

Permalink
fix: Join labels in issue workflow (#563)
Browse files Browse the repository at this point in the history
Instead of merging #562, I think this should work to fix the problem.
Join the list with " " as the delimiter (because it's bash). This means
we can't have spaces in label names, but that seems to be a convention
we already use.
  • Loading branch information
croyzor committed Sep 27, 2023
1 parent b2812b3 commit 87a9e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Parse the priority label into a Jira priority
id: set_priority_var
env:
LABELS: ${{ github.event.issue.labels.*.name }}
LABELS: ${{ join(github.event.issue.labels.*.name, ' ') }}
run: |
MY_RESULT=""
for label in $LABELS
Expand Down

0 comments on commit 87a9e29

Please sign in to comment.