Skip to content

Commit 1cc44ab

Browse files
committed
Specify permissions in GH Action workflows
1 parent 7c4b39a commit 1cc44ab

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.github/workflows/build-sphinx.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
pull_request:
77
types: [opened, synchronize, reopened, closed]
88

9+
permissions: read-all
10+
911
env:
1012
GH_BOT_NAME: 'github-actions[bot]'
1113
GH_BOT_EMAIL: 'github-actions[bot]@users.noreply.github.com'

.github/workflows/conda-package.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- master
77
pull_request:
88

9+
permissions: read-all
10+
911
env:
1012
PACKAGE_NAME: dpnp
1113
MODULE_NAME: dpnp

.github/workflows/generate_coverage.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches: [master]
66

7+
permissions: read-all
8+
79
jobs:
810
generate-coverage:
911
name: Generate coverage and push to Coveralls.io

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
push:
66
branches: [master]
77

8+
permissions: read-all
9+
810
jobs:
911
pre-commit:
1012
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)