Skip to content

Commit

Permalink
Now really
Browse files Browse the repository at this point in the history
  • Loading branch information
CD-Z committed Dec 30, 2024
1 parent 1e3c8e0 commit d24cc08
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/issue_auto_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ jobs:
- name: Determine corresponding label
id: determine-label
run: |
# Map the selected plugin to its ID
QUERY=.[\"$SELECTED_PLUGIN\"]
LABELS=$( jq --arg keys "$QUERY" '. as $data | $keys | split(",") as $keyList | $keyList[] | . as $key | if $data[$key] != null then $data[$key] else empty end' ./.github/scripts/keys.json )
LABELS=$( jq --arg keys "$SELECTED_PLUGIN" '. as $data | $keys | split(",") as $keyList | $keyList[] | . as $key | if $data[$key] != null then $data[$key] else empty end' ./.github/scripts/keys.json )
echo "LABELS=$LABELS" >> $GITHUB_ENV
- name: Add label to the issue
Expand Down

0 comments on commit d24cc08

Please sign in to comment.