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

Commit

Permalink
Merge pull request #1104 from pohly/permissions
Browse files Browse the repository at this point in the history
github: add default permissions
  • Loading branch information
pohly authored Jul 19, 2024
2 parents d714984 + 754dfcc commit d14731f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
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

0 comments on commit d14731f

Please sign in to comment.