Skip to content

Commit

Permalink
Update workflow status badges for GitHub Actions
Browse files Browse the repository at this point in the history
Summary:
Workflow status badges for GitHub Actions have new URL format. Update them in our README because otherwise CI jobs incorrectly appear as failing.

The new URL format is:

```
https://github.com/OWNER/REPOSITORY/actions/workflows/WORKFLOW-FILE/badge.svg
```
e.g.

```
https://github.com/facebook/fbthrift/actions/workflows/getdeps_linux.yml/badge.svg
```

See https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge#using-the-workflow-file-name.

Before:
 {F1159531966}

After:
 {F1159531757}

Reviewed By: praihan

Differential Revision: D51599006

fbshipit-source-id: 3d9f0befda02d92768d87fd7b2e7e309954a1da0
  • Loading branch information
vitaut authored and facebook-github-bot committed Nov 28, 2023
1 parent 75ff225 commit 38c3c40
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ Facebook Thrift
---------------

[![Support Ukraine](https://img.shields.io/badge/Support-Ukraine-FFD500?style=flat&labelColor=005BBB)](https://opensource.fb.com/support-ukraine)
[![Linux Build Status](https://github.com/facebook/fbthrift/workflows/linux/badge.svg)](
[![Linux Build Status](
https://github.com/facebook/fbthrift/actions/workflows/getdeps_linux.yml/badge.svg)](
https://github.com/facebook/fbthrift/actions/workflows/getdeps_linux.yml)
[![macOS Build Status](https://github.com/facebook/fbthrift/workflows/mac/badge.svg)](
[![macOS Build Status](
https://github.com/facebook/fbthrift/actions/workflows/getdeps_mac.yml/badge.svg)](
https://github.com/facebook/fbthrift/actions/workflows/getdeps_mac.yml)
[![Windows Build Status](https://github.com/facebook/fbthrift/workflows/windows/badge.svg)](
[![Windows Build Status](
https://github.com/facebook/fbthrift/actions/workflows/getdeps_windows.yml/badge.svg)](
https://github.com/facebook/fbthrift/actions/workflows/getdeps_windows.yml)
<img src="thrift/website/static/img/logo.svg"
alt="Facebook Thrift Logo" align="right" width="20%"/>
Expand Down

0 comments on commit 38c3c40

Please sign in to comment.