Skip to content

Commit

Permalink
Merge pull request #189 from sensein/build_status
Browse files Browse the repository at this point in the history
fixing build status in README.md
  • Loading branch information
fabiocat93 authored Nov 14, 2024
2 parents 4909e39 + 8263fb6 commit bd514b0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/main-branch-status.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Update Build Status

on:
release:
types: [published]

jobs:
update-status:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Update badge status
run: echo "Badge status updated for main branch"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build](https://github.com/sensein/senselab/actions/workflows/tests.yaml/badge.svg?branch=main)](https://github.com/sensein/senselab/actions/workflows/tests.yaml?query=branch%3Amain)
[![Build](https://github.com/sensein/senselab/actions/workflows/main-branch-status.yaml/badge.svg?branch=main)](https://github.com/sensein/senselab/actions/workflows/main-branch-status.yaml?query=branch%3Amain)
[![codecov](https://codecov.io/gh/sensein/senselab/graph/badge.svg?token=9S8WY128PO)](https://codecov.io/gh/sensein/senselab)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

Expand Down

0 comments on commit bd514b0

Please sign in to comment.