From ff19b22d726efbf1778da3885d7ff2f753691333 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 4 Jul 2024 18:28:39 +0200 Subject: [PATCH] ci: change action to send twitter notification Signed-off-by: Ettore Di Giacinto --- .github/workflows/notify-models.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/notify-models.yaml b/.github/workflows/notify-models.yaml index 06575eb4..a89ff819 100644 --- a/.github/workflows/notify-models.yaml +++ b/.github/workflows/notify-models.yaml @@ -156,6 +156,13 @@ jobs: with: text: ${{ steps.summarize.outputs.message }} bearer-token: ${{ secrets.TWITTER_BEARER_TOKEN }} + - uses: nearform-actions/github-action-notify-twitter@master + with: + message: ${{ steps.summarize.outputs.message }} + 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 }} - name: Setup tmate session if fails if: ${{ failure() }} uses: mxschmitt/action-tmate@v3.18