Skip to content

Commit

Permalink
chore: trunk upgrade + fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
gberenice committed Oct 27, 2023
1 parent 8a1bcbc commit dba9a4c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
name: Lint

on: pull_request
permissions: read-all

permissions:
actions: read
checks: write
contents: read
pull-requests: read

jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion .trunk/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*logs
*actions
*notifications
*tools
plugins
user_trunk.yaml
user.yaml
tools
15 changes: 8 additions & 7 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
version: 0.1
cli:
version: 1.12.3
version: 1.17.1
plugins:
sources:
- id: trunk
ref: v0.0.22
ref: v1.2.1
uri: https://github.com/trunk-io/plugins
lint:
enabled:
- checkov@2.3.335
- trivy@0.43.1
- actionlint@1.6.26
- checkov@3.0.12
- trivy@0.46.0
- yamllint@1.32.0
- git-diff-check
- markdownlint@0.35.0
- prettier@3.0.0
- trufflehog@3.44.0
- markdownlint@0.37.0
- prettier@3.0.3
- trufflehog@3.60.4
runtimes:
enabled:
- node@18.12.1
Expand Down

0 comments on commit dba9a4c

Please sign in to comment.