# YAML
---
name: fediverse-action
on: [push]
jobs:
  post:
    runs-on: ubuntu-latest
    steps:
      - uses: rzr/fediverse-action@master
        with:
          access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}

# YAML
---
name: fediverse-action
on: [push]
jobs:
  post:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - id: log
        run: echo "::set-output name=message::$(git log --no-merges -1 --oneline)"
      - uses: rzr/fediverse-action@master
        with:
          access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}
          message: "https://github.com/${{ github.repository }}/commit/${{ steps.log.outputs.message }} ~ #FediVerseAction"

Add commit shortlog post URL to fediverse
github: Add commit shortlog post URL to fediverse

Link commit url for fediverse-action

Change-Id: I7a47343c920f087d0d265eed9278087ed18570ac
Origin: https://github.com/rzr/iotjs-express/commit/e80801636fecf72916cb983090480a527b804c1c
Signed-off-by: Philippe Coval <66e956a7574c7a5229d4addfdb6368e0afbbfd45@users.sf.net>
