Meeting: Wed, Feb 28th, Create your own simple Blog with Pelican #10
This file contains 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
name: Announce new meeting on Mastodon | |
on: | |
issues: | |
types: | |
- labeled | |
jobs: | |
add-comment: | |
if: github.event.label.name == 'Meeting' | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- name: Send toot to Mastodon | |
id: mastodon | |
uses: cbrgm/mastodon-github-action@v1 | |
with: | |
message: "New Vancouver Python User Group meeting announced! ${{ github.event.issue.title }}" | |
visibility: "public" | |
env: | |
MASTODON_URL: ${{ secrets.MASTODON_URL }} | |
MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }} |