Skip to content

Commit

Permalink
Changed permission github action
Browse files Browse the repository at this point in the history
  • Loading branch information
leoafarias committed Feb 28, 2024
1 parent e1e8fbc commit 1820f26
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
name: Test
timeout-minutes: 30
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -40,13 +42,11 @@ jobs:

- name: Install DCM
uses: CQLabs/setup-dcm@v1
if: github.repository == 'leoafarias/fvm'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Run DCM
uses: CQLabs/dcm-action@v1
if: github.repository == 'leoafarias/fvm'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
ci_key: oss
Expand All @@ -55,6 +55,9 @@ jobs:
fatal_style: true
fatal_performance: true
fatal_warnings: true

- name: Run DCM
run: dcm analyze lib

- name: Install lcov
run: sudo apt-get install lcov
Expand Down

0 comments on commit 1820f26

Please sign in to comment.