-
Notifications
You must be signed in to change notification settings - Fork 13
feat: added announcement robot #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
d640a95
feat: added announcement robot
cmeesters a9a7d00
fix: changing pr image to the established logo in transparent form
cmeesters 5174fce
fix: removed previous pr_logo
cmeesters 3736a64
fix: caption text
cmeesters 8ea5db0
Update .github/workflows/announce-release.yml
johanneskoester File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| name: Announce Release on Mastodon | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| paths: | ||
| - '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: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Post to Mastodon | ||
| uses: snakemake/mastodon-release-post-action@main # == latest | ||
| with: | ||
| access-token: ${{ secrets.MASTODONBOT }} | ||
| pr-title: ${{ github.event.head_commit.message }} | ||
| image: "snakedeploy_transparent.png" | ||
| image-description: "Snakedeploy logo - altered for Mastodon" | ||
| message: | | ||
| Beep, Beep - I am your friendly #Snakemake release announcement bot. | ||
|
|
||
| There is a new release of the Snakedeploy tool to deploy Snakemake workflows from the snakemake catalog. Its version now is {{ version }}! | ||
|
|
||
| Give us some time, and you will automatically find Snakedeploy on #Bioconda and #Pypi. | ||
|
|
||
| If you want to discuss the release, you will find the maintainers here on Mastodon! | ||
| @johanneskoester@fosstodon.org | ||
|
|
||
| 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 }} | ||
|
|
||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.