GHA: tidy up single-line run blocks

Also double quote a shell variable.

Closes #17552
This commit is contained in:
Viktor Szakats 2025-06-06 22:15:02 +02:00
parent f33ec60fbf
commit 900612df79
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 5 additions and 7 deletions

View file

@ -37,7 +37,7 @@ jobs:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
run: |
gh config set prompt disabled && echo "label=$(
gh repo view --json repositoryTopics --jq '.repositoryTopics[].name' | grep '^hacktoberfest$')" >> $GITHUB_OUTPUT
gh repo view --json repositoryTopics --jq '.repositoryTopics[].name' | grep '^hacktoberfest$')" >> "$GITHUB_OUTPUT"
- name: Search relevant commit message lines starting with Closes/Merges
if: steps.check.outputs.label == 'hacktoberfest'