Skip to content

Commit

Permalink
it's late
Browse files Browse the repository at this point in the history
  • Loading branch information
auhlig committed Jun 17, 2024
1 parent 63f7135 commit 2f72964
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,10 @@ runs:
# Exit if the issue already has an OWS label.
# TODO: Support updates to Jira issues.
for label in "${{ github.event.issue.labels.*.name }}"; do
if [[ "$label" == OWS* ]]; then
echo "Issue has a label starting with OWS, skipping"
labels=$(jq -r '.issue.labels[].name' "$GITHUB_EVENT_PATH")
for lbl in $labels; do
if [[ "$lbl" == OWS* ]]; then
echo "Issue has a label bestarting with OWS, skipping"
exit 0
fi
done
Expand Down

0 comments on commit 2f72964

Please sign in to comment.