Skip to content

Commit 24d2916

Browse files
authored
Merge pull request #3850 from ewels/fix-mastodon-toot
2 parents 2b6b60c + 43ef567 commit 24d2916

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

nf_core/pipeline-template/.github/workflows/release-announcements.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ jobs:
1515
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
1616
1717
- name: get description
18-
id: get_topics
18+
id: get_description
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
21-
20+
echo "description=$(curl -s https://nf-co.re/pipelines.json | jq -r '.remote_workflows[] | select(.full_name == "${{ github.repository }}") | .description')" >> $GITHUB_OUTPUT
2221
- uses: rzr/fediverse-action@master
2322
with:
2423
access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}
@@ -27,9 +26,7 @@ jobs:
2726
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release
2827
message: |
2928
Pipeline release! ${{ github.repository }} v${{ github.event.release.tag_name }} - ${{ github.event.release.name }}!
30-
31-
${{ steps.get_topics.outputs.description }}
32-
29+
${{ steps.get_description.outputs.description }}
3330
Please see the changelog: ${{ github.event.release.html_url }}
3431
3532
${{ steps.get_topics.outputs.topics }} #nfcore #openscience #nextflow #bioinformatics

0 commit comments

Comments
 (0)