Commit 9c2fd03
authored
fix: mastodonbot (#187)
attempt to fix the mastodon publisher:
- that the bot does not post on merged pull request, but only on
releases (it used to publish the merge and the release)
- that the script is found (./post_to_mastodon.sh does not seem to work,
perhaps $(pwd)/post_to_mastodon.sh will?)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Chores**
- Updated GitHub Actions workflow for Mastodon posting.
- Modified workflow trigger to run on push to the main branch after a
pull request merge.
- Changed environment variable to use release tag name instead of pull
request title.
- Added a step to check out the repository.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent ae72d2b commit 9c2fd03
2 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | | - | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
0 commit comments