Skip to content

Commit

Permalink
Add echo
Browse files Browse the repository at this point in the history
  • Loading branch information
desertaxle committed Jun 28, 2024
1 parent 30be8da commit bfb9ca3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/label-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,17 @@ jobs:
for label in $(yq -r '.changelog.categories[] | select(.title != "Uncategorized") | .labels[]' .github/release.yml); do
labels+=("$label")
done
echo "Required labels: $labels"
echo "required_labels=$labels" >> $GITHUB_OUTPUT
- name: Get PR labels
id: get-pr-labels
run: |
labels=()
for label in $(jq -r '.pull_request.labels[].name' "$GITHUB_EVENT_PATH" | tr '\n' ' '); do
for label in $(jq -r '.pull_request.labels[].name' "$GITHUB_EVENT_PATH"); do
labels+=("$label")
done
echo "PR labels: $labels"
echo "labels=$labels" >> $GITHUB_OUTPUT
- name: Check for specific labels
Expand Down

0 comments on commit bfb9ca3

Please sign in to comment.