diff --git a/.github/workflows/notify-twitter.yml b/.github/workflows/notify-twitter.yml new file mode 100644 index 0000000..2486723 --- /dev/null +++ b/.github/workflows/notify-twitter.yml @@ -0,0 +1,20 @@ +name: Notify Twitter + +on: + workflow_dispatch: + release: + types: [published] + +jobs: + setup: + runs-on: ubuntu-latest + steps: + - uses: nearform/github-action-notify-twitter@v1 + with: + message: | + ${{ github.event.repository.name }} ${{ github.event.release.tag_name }} has been released. Check out the release notes: ${{ github.event.release.html_url }} #opensource #jwt #fastjwt + twitter-app-key: ${{ secrets.TWITTER_APP_KEY }} + twitter-app-secret: ${{ secrets.TWITTER_APP_SECRET }} + twitter-access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }} + twitter-access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} +