From 46f7cc2c2a9c28410f4007af6ce419742d510aae Mon Sep 17 00:00:00 2001 From: Shivam Sandbhor Date: Tue, 24 Aug 2021 22:07:35 +0530 Subject: [PATCH] Fix GitHub CI badge Signed-off-by: Shivam Sandbhor --- .github/workflows/main.yml | 3 +++ README.rst | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 542c83a17..0af4e9ce9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,8 @@ name: CI on: + push: + branches: [ main ] + pull_request: types: [opened, synchronize] jobs: diff --git a/README.rst b/README.rst index 9f2304fca..805a581fc 100644 --- a/README.rst +++ b/README.rst @@ -4,7 +4,7 @@ VulnerableCode |Build Status| |License| |Python 3.8| |stability-wip| |Gitter chat| -.. |Build Status| image:: https://github.com/nexB/vulnerablecode/workflows/CI/badge.svg +.. |Build Status| image:: https://github.com/nexB/vulnerablecode/actions/workflows/main.yml/badge.svg?branch=main :target: https://github.com/nexB/vulnerablecode/actions?query=workflow%3ACI .. |License| image:: https://img.shields.io/badge/License-Apache%202.0-blue.svg :target: https://opensource.org/licenses/Apache-2.0