Skip to content

Commit e620dc7

Browse files
committed
chore: Add permissions to workflow
1 parent cffd623 commit e620dc7

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
branches:
99
- main
1010

11+
permissions:
12+
checks: write
13+
pull-requests: write
14+
1115
env:
1216
CC: clang
1317
CXX: clang++
@@ -55,7 +59,7 @@ jobs:
5559
unit-tests:
5660
name: Unit tests
5761
runs-on: ubuntu-latest
58-
needs: [ build-targets ]
62+
needs: [build-targets]
5963
steps:
6064
- name: Checkout repository
6165
uses: actions/checkout@v4
@@ -109,7 +113,7 @@ jobs:
109113
benchmark-tests:
110114
name: Benchmark tests
111115
runs-on: ubuntu-latest
112-
needs: [ build-targets ]
116+
needs: [build-targets]
113117
if: github.actor != 'dependabot[bot]'
114118
steps:
115119
- name: Checkout repository

0 commit comments

Comments
 (0)