Skip to content

CI: update CLI badge with user token - #150

Merged
donatj merged 1 commit into
masterfrom
ci/use-user-token-badge
Jul 27, 2026
Merged

CI: update CLI badge with user token#150
donatj merged 1 commit into
masterfrom
ci/use-user-token-badge

Conversation

@donatj

@donatj donatj commented Jul 27, 2026

Copy link
Copy Markdown
Member

Uses the SHIELDED_USER_TOKEN secret for the CI badge update and passes the stable shield key shieldeddotdev-last-update-cli. This exercises the CLI user-token flow while leaving the CLI itself token-agnostic.

Copilot AI review requested due to automatic review settings July 27, 2026 03:33
@donatj
donatj merged commit 7241ac7 into master Jul 27, 2026
3 checks passed
@donatj
donatj deleted the ci/use-user-token-badge branch July 27, 2026 03:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the CI workflow to exercise the Shielded user-token flow when updating the CLI badge, while keeping the CLI itself token-agnostic.

Changes:

  • Switches CI secret usage from SHIELDED_TOKEN to SHIELDED_USER_TOKEN.
  • Passes a stable shield key (shieldeddotdev-last-update-cli) to the shielded CLI invocation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml
# - run: npm test
- run: npm install -g .
- run: shielded --text "$(date)"
- run: shielded --key shieldeddotdev-last-update-cli --text "$(date)"
Comment thread .github/workflows/ci.yml
Comment on lines 13 to 15
env:
SHIELDED_TOKEN: ${{ secrets.SHIELDED_TOKEN }}
SHIELDED_USER_TOKEN: ${{ secrets.SHIELDED_USER_TOKEN }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants