StarTweet is a GitHub Action that sends a thank you tweet to users who star your GitHub repository.
-
Create a Twitter Developer account and a project to obtain the necessary API keys and access tokens. here
-
Add the following GitHub secrets to your repository:
- CONSUMER_KEY
- CONSUMER_SECRET
- ACCESS_TOKEN
- ACCESS_TOKEN_SECRET
Required Twitter consumer key.
Required Twitter consumer secret.
Required Twitter access token
Required twitter access token secret
Option This is tweet description. Default value is below.
🌟 Thank you for starring our repository! We appreciate your support and will continue to deliver great content! 😃 #GitHub #Star
Sample usage.
name: StarTweet
on: [watch]
jobs:
tweet:
runs-on: ubuntu-latest
steps:
- name: Send tweet
uses: iisyos/star_tweet@v1.0
with:
consumer_key: ${{ secrets.CONSUMER_KEY }}
consumer_secret: ${{ secrets.CONSUMER_SECRET }}
access_token: ${{ secrets.ACCESS_TOKEN }}
access_token_secret: ${{ secrets.ACCESS_TOKEN_SECRET }}
text: "🌟 Thank you for starring our repository! We appreciate your support and will continue to deliver great content! 😃 #GitHub #Star" # option