Skip to content

Commit 023c5c6

Browse files
brunoborgesCopilot
andcommitted
fix: update Twitter secret names to match repo configuration
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 3607b1c commit 023c5c6

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/social-post.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727

2828
- name: Post to Twitter
2929
env:
30-
TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }}
31-
TWITTER_CONSUMER_KEY_SECRET: ${{ secrets.TWITTER_CONSUMER_KEY_SECRET }}
30+
TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_APP_CONSUMER_KEY }}
31+
TWITTER_CONSUMER_KEY_SECRET: ${{ secrets.TWITTER_APP_SECRET_KEY }}
3232
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
3333
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
3434
run: jbang html-generators/socialpost.java

secrets.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ This document lists the GitHub repository secrets configured in **Settings → S
99
| Secret | Purpose |
1010
|--------|---------|
1111
| `COPILOT_GITHUB_TOKEN` | GitHub token used by Copilot for automated workflows |
12-
| `TWITTER_CONSUMER_KEY` | X (Twitter) API v2 OAuth 1.0a consumer key |
13-
| `TWITTER_CONSUMER_KEY_SECRET` | X (Twitter) API v2 OAuth 1.0a consumer secret |
12+
| `TWITTER_APP_CONSUMER_KEY` | X (Twitter) API v2 OAuth 1.0a consumer key |
13+
| `TWITTER_APP_SECRET_KEY` | X (Twitter) API v2 OAuth 1.0a consumer secret |
1414
| `TWITTER_ACCESS_TOKEN` | X (Twitter) API v2 user access token |
1515
| `TWITTER_ACCESS_TOKEN_SECRET` | X (Twitter) API v2 user access token secret |
16+
| `TWITTER_APP_BEARER_TOKEN` | X (Twitter) API v2 OAuth 2.0 App-Only bearer token |
17+
| `TWITTER_CLIENT_ID` | X (Twitter) OAuth 2.0 client ID |
18+
| `TWITTER_CLIENT_SECRET` | X (Twitter) OAuth 2.0 client secret |
1619

1720
## Usage
1821

0 commit comments

Comments
 (0)