minikube/.github/workflows/twitter-bot.yml

20 lines
623 B
YAML
Raw Normal View History

2021-07-02 22:57:56 +00:00
name: "Tweet the release"
on:
workflow_dispatch:
2021-07-02 23:04:17 +00:00
push:
tags:
- 'v*'
2021-07-02 22:57:56 +00:00
release:
2021-07-02 23:04:17 +00:00
types: [published]
2021-07-02 22:57:56 +00:00
jobs:
twitter-release:
runs-on: ubuntu-latest
steps:
- uses: ethomson/send-tweet-action@v1
with:
status: "A new minikube version just released ! check it out https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md"
consumer-key: ${{ secrets.TWITTER_API_KEY }}
consumer-secret: ${{ secrets.TWITTER_API_SECRET }}
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}