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

18 lines
663 B
YAML
Raw Normal View History

2021-07-02 22:57:56 +00:00
name: "Tweet the release"
on:
workflow_dispatch:
2021-07-02 22:57:56 +00:00
release:
2021-07-02 23:04:17 +00:00
types: [published]
permissions: {} # none
2021-07-02 22:57:56 +00:00
jobs:
twitter-release:
2021-09-28 03:01:27 +00:00
runs-on: ubuntu-20.04
2021-07-02 22:57:56 +00:00
steps:
2022-03-25 22:21:45 +00:00
- uses: ethomson/send-tweet-action@288f9339e0412e3038dce350e0da5ecdf12133a6
2021-07-02 22:57:56 +00:00
with:
2022-05-13 23:25:43 +00:00
status: "minikube ${{github.ref_name}} was just released! Check it out: https://github.com/kubernetes/minikube/blob/master/CHANGELOG.md"
2021-07-02 22:57:56 +00:00
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 }}