File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Announce Release on Mastodon
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ path :
8
+ - ' CHANGELOG.md'
9
+
10
+ permissions :
11
+ pull-requests : read
12
+
13
+ jobs :
14
+ post_to_mastodon :
15
+ if : " ${{ contains(github.event.head_commit.message, 'chore(main): release') }}"
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Post to Mastodon
19
+
20
+ with :
21
+ access-token : ${{ secrets.MASTODONBOT }}
22
+ pr-title : ${{ github.event.head_commit.message }}
23
+ message : |
24
+ Beep, Beep - I am your friendly #Snakemake release announcement bot.
25
+
26
+ There is a new release of the #HPC Teaching Material for Snakemake. Its version now is {{ version }}!
27
+
28
+ If you want to discuss the release, you will find the maintainers here on Mastodon!
29
+
30
+
31
+ If you discover any issues, please report them on {{ issue_url }}.
32
+
33
+ See {{ changelog }} for details. Here is the header of the changelog:
34
+
35
+ ${{ steps.extract-release-notes.outputs.release_notes }}
36
+
You can’t perform that action at this time.
0 commit comments