Skip to content

Commit 73bfeae

Browse files
authored
feat: add CI & static analysis badges (#517)
1 parent c5ab0bc commit 73bfeae

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: CI
22

33
on:
4+
push:
5+
branches: [ "master" ]
46
pull_request:
7+
branches: [ "master" ]
58

69
jobs:
710
build:

.github/workflows/static.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: Static code analysis
22

3-
on: [pull_request]
4-
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
58

69
jobs:
710
phpstan:

Readme.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
[![Latest Version](https://img.shields.io/github/release/php-translation/symfony-bundle.svg?style=flat-square)](https://github.com/php-translation/symfony-bundle/releases)
44
[![Total Downloads](https://img.shields.io/packagist/dt/php-translation/symfony-bundle.svg?style=flat-square)](https://packagist.org/packages/php-translation/symfony-bundle)
5+
[![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)
6+
[![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)
57

68
**Symfony integration for PHP Translation**
79

0 commit comments

Comments
 (0)