diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9eece1f..3e87558 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,10 @@ name: CI on: + push: + branches: [ "master" ] pull_request: + branches: [ "master" ] jobs: build: diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index ea6822a..9402911 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -1,7 +1,10 @@ name: Static code analysis -on: [pull_request] - +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] jobs: phpstan: diff --git a/Readme.md b/Readme.md index cb35de1..389ec49 100644 --- a/Readme.md +++ b/Readme.md @@ -2,6 +2,8 @@ [![Latest Version](https://img.shields.io/github/release/php-translation/symfony-bundle.svg?style=flat-square)](https://github.com/php-translation/symfony-bundle/releases) [![Total Downloads](https://img.shields.io/packagist/dt/php-translation/symfony-bundle.svg?style=flat-square)](https://packagist.org/packages/php-translation/symfony-bundle) +[![CI](https://github.com/php-translation/symfony-bundle/actions/workflows/ci.yml/badge.svg)](https://github.com/php-translation/symfony-bundle/actions/workflows/ci.yml) +[![Static code analysis](https://github.com/php-translation/symfony-bundle/actions/workflows/static.yml/badge.svg)](https://github.com/php-translation/symfony-bundle/actions/workflows/static.yml) **Symfony integration for PHP Translation**