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