Skip to content

🩺 Take the GH badge only from pushes to the main branch#284

Merged
tiangolo merged 3 commits into
fastapi:mainfrom
svlandeg:fix/badge
Feb 28, 2025
Merged

🩺 Take the GH badge only from pushes to the main branch#284
tiangolo merged 3 commits into
fastapi:mainfrom
svlandeg:fix/badge

Conversation

@svlandeg
Copy link
Copy Markdown
Member

@svlandeg svlandeg commented Feb 6, 2025

I noticed earlier today that the "Test" badge on https://asyncer.tiangolo.com/ and https://github.com/fastapi/asyncer/blob/main/README.md was red because some bot's PR had failed on its last test run. This PR ensures that the badge only looks at the latest push to main (similar to how it's currently done in FastAPI).

@github-actions github-actions Bot added the docs Improvements or additions to documentation label Feb 6, 2025
@svlandeg svlandeg changed the title Take the GH badge only from pushes to the main branch 🩺 Take the GH badge only from pushes to the main branch Feb 6, 2025
@github-actions

This comment was marked as outdated.

@github-actions
Copy link
Copy Markdown
Contributor

📝 Docs preview for commit d519afe at: https://beec9ad7.asyncer.pages.dev

Modified Pages

Copy link
Copy Markdown
Member

@tiangolo tiangolo left a comment

Choose a reason for hiding this comment

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

Nice, thank you! 🍰

@tiangolo tiangolo merged commit 676e1c0 into fastapi:main Feb 28, 2025
@svlandeg svlandeg deleted the fix/badge branch February 28, 2025 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants