Skip to content

chore(cli): warn in GitHub Actions without GITHUB_TOKEN#448

Merged
LeoMcA merged 3 commits intomainfrom
warn-if-github-token-missing-in-github-actions
Jan 14, 2026
Merged

chore(cli): warn in GitHub Actions without GITHUB_TOKEN#448
LeoMcA merged 3 commits intomainfrom
warn-if-github-token-missing-in-github-actions

Conversation

@caugner
Copy link
Contributor

@caugner caugner commented Dec 19, 2025

Description

Warn if Rari runs in GitHub Actions without GITHUB_TOKEN.

Motivation

Make it easy to identify workflow runs where we forgot to provide the GITHUB_TOKEN.

Additional details

Tested via 9d26e58, and works as expected:

image

Related issues and pull requests

@github-actions
Copy link
Contributor

github-actions bot commented Dec 19, 2025

29b6a1c was deployed to: https://rari-pr448.review.mdn.allizom.net/

@caugner caugner force-pushed the warn-if-github-token-missing-in-github-actions branch from 691ab2e to 9d26e58 Compare December 19, 2025 11:21
@caugner caugner changed the title chore(cli): warn if running in GitHub Actions without GITHUB_TOKEN chore(cli): warn in GitHub Actions without GITHUB_TOKEN Dec 19, 2025
@caugner caugner marked this pull request as ready for review December 19, 2025 11:30
@caugner caugner requested a review from a team as a code owner December 19, 2025 11:30
@caugner caugner requested a review from LeoMcA December 19, 2025 11:30
Copy link
Member

@LeoMcA LeoMcA left a comment

Choose a reason for hiding this comment

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

Nice!

@LeoMcA LeoMcA merged commit 38b4a5c into main Jan 14, 2026
18 checks passed
@LeoMcA LeoMcA deleted the warn-if-github-token-missing-in-github-actions branch January 14, 2026 11:49
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