Skip to content

Commit

Permalink
add bearer
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelsam committed May 13, 2024
1 parent c12b9e7 commit d79dc95
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/bearer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: bearer

on:
push:

permissions:
contents: read

jobs:
rule_check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Bearer
uses: bearer/bearer-action@v2
2 changes: 1 addition & 1 deletion .github/workflows/maven-openclover.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- uses: danhunsaker/clover-reporter-action@v0.2.17-clover
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
clover-file: ./target/site/clover/clover.xml
clover-file: ./coverage/clover.xml

- name: Fail PR if overall coverage is less than 80%
if: ${{ steps.jacoco.outputs.coverage-overall < 80.0 }}
Expand Down

0 comments on commit d79dc95

Please sign in to comment.