Skip to content

Commit e2cfe8e

Browse files
committed
Update codecov action
1 parent 7d7f092 commit e2cfe8e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ jobs:
4949
if: matrix.php-versions == '7.4' && matrix.dependencies == 'highest'
5050

5151
- name: Upload coverage to Codecov
52-
uses: codecov/[email protected]
52+
uses: codecov/[email protected]
53+
with:
54+
token: ${{ secrets.CODECOV_TOKEN }}
5355
if: matrix.php-versions == '7.4' && matrix.dependencies == 'highest'
5456

5557
phpcs:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
GitLab Report for PHP_CodeSniffer
33
---------------------------------
4-
![Main workflow](https://github.com/micheh/phpcs-gitlab/workflows/Main%20workflow/badge.svg)
5-
[![codecov](https://codecov.io/gh/micheh/phpcs-gitlab/branch/master/graph/badge.svg)](https://codecov.io/gh/micheh/phpcs-gitlab)
4+
![Main workflow](https://github.com/micheh/phpcs-gitlab/actions/workflows/main.yml/badge.svg)
5+
[![codecov](https://codecov.io/github/micheh/phpcs-gitlab/graph/badge.svg?token=02FSF3TT0T)](https://codecov.io/github/micheh/phpcs-gitlab)
66

77

88
This library adds a custom report to [PHP_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer/) (phpcs) to generate a codequality artifact that can be used by GitLab CI/CD.

0 commit comments

Comments
 (0)