Skip to content

Commit 8fa21a1

Browse files
committed
update
1 parent bc24e7c commit 8fa21a1

3 files changed

Lines changed: 11 additions & 10 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,12 @@ on:
1010
permissions:
1111
actions: write
1212
contents: read
13+
id-token: write
1314

1415
jobs:
1516
build:
1617
runs-on: ubuntu-latest
1718
steps:
18-
- name: Cancel Previous Runs
19-
uses: styfle/cancel-workflow-action@0.11.0
20-
2119
- name: Checkout repo
2220
uses: actions/checkout@v4
2321

@@ -42,5 +40,5 @@ jobs:
4240

4341
- uses: qltysh/qlty-action/coverage@main
4442
with:
45-
coverage-token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
43+
oidc: true
4644
files: coverage/clover.xml

.qlty/.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cache
2-
logs
3-
out
4-
plugins
1+
*
2+
!configs
3+
!hooks
4+
!qlty.toml

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@ This repository uses [PHPUnit](https://phpunit.de/index.html) for testing and ge
1414
- [PHPUnit](https://phpunit.de/index.html) 10.x or above
1515
- [Pcov](https://github.com/krakjoe/pcov) 1.0.11 or above
1616
- Run tests with `vendor/bin/phpunit`
17-
- An account on Qlty (free for open source)
18-
- `QLTY_COVERAGE_TOKEN` is set as a GitHub Actions [repository secret](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository)
17+
- An account on [Qlty Cloud](https://qlty.sh) (free)
18+
19+
> [!NOTE]
20+
>
21+
> This repository is using GitHub's OpenID Connect (OIDC) to authenticate the coverage upload with Qlty Cloud instead of storing a coverage token as a GitHub Actions secret.
1922
2023
## Set up
2124

0 commit comments

Comments
 (0)