Skip to content

Offer of space: Jane #2

Offer of space: Jane

Offer of space: Jane #2

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 }}