Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

github: add default permissions #1104

Merged
merged 1 commit into from
Jul 19, 2024
Merged
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: 3 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ on:
schedule:
- cron: '45 2 * * 0'

# Declare default permissions as read only.
permissions: read-all

jobs:
analyze:
name: Analyze
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
branches:
- "*"
pull_request:

# Declare default permissions as read only.
permissions: read-all

jobs:
golangci:
name: lint
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- release-1.0
- release-1.1


# Declare default permissions as read only.
permissions: read-all

jobs:
build:

Expand Down
Loading