Action: Reformat based on latest black release. #594
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tweet New Entries | |
on: | |
push: | |
branches: | |
- master | |
- action | |
- ci | |
jobs: | |
tweet: | |
name: Tweet new entries | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: '0' | |
- name: Run tweet action tests | |
uses: ./.github/actions/tweet-commit | |
with: | |
args: test | |
- name: Send Tweet if requested in commit message | |
uses: ./.github/actions/tweet-commit | |
with: | |
trigger_keyword: TweetMe! | |
twitter_consumer_key: "${{ secrets.twitter_consumer_key }}" | |
twitter_consumer_secret: "${{ secrets.twitter_consumer_secret }}" | |
twitter_access_token: "${{ secrets.twitter_access_token }}" | |
twitter_access_token_secret: "${{ secrets.twitter_access_token_secret }}" |