Skip to content

Commit 7aa9239

Browse files
authored
Apply suggestions from code review
1 parent c3df32e commit 7aa9239

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release-announcements.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: get description
1818
id: get_topics
1919
run: |
20-
echo "description=$(curl -s https://nf-co.re/pipelines.json | jq -r '.remote_workflows[] | select(.full_name == "${{ github.repository }}") | .description' >> $GITHUB_OUTPUT
20+
echo "topics=$(curl -s https://nf-co.re/pipelines.json | jq -r '.remote_workflows[] | select(.full_name == "${{ github.repository }}") | .topics[]' | awk '{print "#"$0}' | tr '\n' ' ')" | sed 's/-//g' >> $GITHUB_OUTPUT
2121
2222
- uses: rzr/fediverse-action@master
2323
with:
@@ -28,7 +28,7 @@ jobs:
2828
message: |
2929
Pipeline release! ${{ github.repository }} v${{ github.event.release.tag_name }} - ${{ github.event.release.name }}!
3030
31-
${{ steps.get_topics.outputs.description }}
31+
${{ steps.get_description.outputs.description }}
3232
3333
Please see the changelog: ${{ github.event.release.html_url }}
3434

0 commit comments

Comments
 (0)