Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
- main
pull_request:

permissions: {}
permissions:
contents: read # needed for checkout in private repos
Comment on lines +9 to +10
Copy link
Contributor

@Ninja3047 Ninja3047 Sep 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't need to be here
it should be only in the actions/checkout scope
@copilot


jobs:
self-test:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
pull_request:
branches: ["**"]

permissions: {}
permissions:
contents: read # needed for checkout in private repos

jobs:
zizmor:
Expand Down
3 changes: 2 additions & 1 deletion {{cookiecutter.project_slug}}/.github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
branches:
- main

permissions: {}
permissions:
contents: read # needed for checkout in private repos

jobs:
build:
Expand Down
3 changes: 2 additions & 1 deletion {{cookiecutter.project_slug}}/.github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
- main
pull_request:

permissions: {}
permissions:
contents: read # needed for checkout in private repos

jobs:
lint:
Expand Down
3 changes: 2 additions & 1 deletion {{cookiecutter.project_slug}}/.github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:

name: release

permissions: {}
permissions:
contents: read # needed for checkout in private repos

jobs:
build:
Expand Down
3 changes: 2 additions & 1 deletion {{cookiecutter.project_slug}}/.github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
- main
pull_request:

permissions: {}
permissions:
contents: read # needed for checkout in private repos

jobs:
test:
Expand Down
3 changes: 2 additions & 1 deletion {{cookiecutter.project_slug}}/.github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
pull_request:
branches: ["**"]

permissions: {}
permissions:
contents: read # needed for checkout in private repos

jobs:
zizmor:
Expand Down