From 40dc4bccfb3d8b6efd26327a412b73bbe2f7113d Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Sat, 7 Mar 2020 13:55:18 +0100 Subject: [PATCH] github: Add fediverse-action to workflows This config file will post a default message on each push. https://mastodon.social/tags/FediVerseAction As explained in documentation token should be set in project's secrect. Once checked config can be customized, eg: to post only on releases. Then please share your updated config file to community: https://github.com/rzr/fediverse-action#Community Change-Id: I8323211f6b224b3fb1603c605416fc2a69d24be2 Origin: https://github.com/rzr/fediverse-action/blob/master/.github/workflows/fediverse-action.yml Relate-to: https://github.com/rzr/fediverse-action/ Signed-off-by: Philippe Coval --- .github/workflows/fediverse-action.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/fediverse-action.yml diff --git a/.github/workflows/fediverse-action.yml b/.github/workflows/fediverse-action.yml new file mode 100644 index 0000000..20da36d --- /dev/null +++ b/.github/workflows/fediverse-action.yml @@ -0,0 +1,11 @@ +# 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 }}