Skip to content

fix: full release notes (#308) #119

fix: full release notes (#308)

fix: full release notes (#308) #119

name: Announce Release on Mastodon
on:
push:
branches:
- main
path:
- 'CHANGELOG.md'
permissions:
pull-requests: read
jobs:
post_to_mastodon:
if: "${{ contains(github.event.head_commit.message, 'chore(main): release') }}"
runs-on: ubuntu-latest
steps:
- name: Extract release notes
id: extract-release-notes
uses: ffurrer2/extract-release-notes@v2
with:
changelog_file: ${{ GITHUB_WORKSPACE }}/CHANGELOG.md

Check failure on line 22 in .github/workflows/announce-release.yml

View workflow run for this annotation

GitHub Actions / Announce Release on Mastodon

Invalid workflow file

The workflow is not valid. .github/workflows/announce-release.yml (Line: 22, Col: 27): Unrecognized named-value: 'GITHUB_WORKSPACE'. Located at position 1 within expression: GITHUB_WORKSPACE
- name: Post to Mastodon
uses: snakemake/[email protected]
with:
access-token: ${{ secrets.MASTODONBOT }}
pr-title: ${{ github.event.head_commit.message }}
message: |
Beep, Beep - I am your friendly #Snakemake release announcement bot.
There is a new release of the Snakemake executor for #SLURM on #HPC systems. Its version now is {{ version }}!
Give us some time, and you will automatically find the plugin on #Bioconda and #Pypi.
If you want to discuss the release, you will find the maintainers here on Mastodon!
@rupdecat and @[email protected]
If you discover any issues, please report them on {{ issue_url }}.
See {{ changelog }} for details. Here is the header of the changelog:
${{ steps.extract-release-notes.outputs.release_notes }}