From e7423f82c4350b1156a4b9f2370f41bd86579698 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Fri, 23 Dec 2022 14:40:34 +0100 Subject: [PATCH] New Github Action: Tweet on release --- .github/workflows/tweet.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/tweet.yml diff --git a/.github/workflows/tweet.yml b/.github/workflows/tweet.yml new file mode 100644 index 00000000..5958b57a --- /dev/null +++ b/.github/workflows/tweet.yml @@ -0,0 +1,23 @@ +name: tweet +on: + push: + tags: + - '*' + release: + types: [ published ] + +jobs: + tweet: + runs-on: ubuntu-latest + steps: + - name: Tweet + uses: snow-actions/tweet@v1 + with: + status: | + We are proud to announce that ${{ github.repository }} ยท ${{ github.event.release.name }} + ${{ github.event.release.html_url }} is now released ๐Ÿš€. #jwt #jwe #jws #jwk #jwa #php #symfony + env: + CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }} + CONSUMER_API_SECRET_KEY: ${{ secrets.TWITTER_CONSUMER_API_SECRET }} + ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }} + ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}