Skip to content

Commit

Permalink
adjust permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
btschwertfeger committed Mar 14, 2024
1 parent c62d916 commit 695d4f5
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@

name: Build

permissions: read-all
permissions:
contents: read

on:
workflow_call:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/_build_doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

name: Build Doc

permissions: read-all
permissions:
contents: read

on:
workflow_call:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/_codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@

name: CodeCov

permissions: read-all
permissions:
contents: read

on:
workflow_call:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/_codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

name: CodeQL

permissions: read-all

on:
workflow_call:

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/_pre_commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

name: Pre-Commit

permissions: read-all
permissions:
contents: read

on:
workflow_call:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/_pypi_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

name: PyPI Publish

permissions: read-all
permissions:
contents: read

on:
workflow_call:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

name: Test Spot

permissions: read-all
permissions:
contents: read

on:
workflow_call:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

name: CI/CD

permissions: read-all

on:
push:
branches:
Expand Down

0 comments on commit 695d4f5

Please sign in to comment.