From 837ef9c99cba01abf2458bad0dcd4ed559ddf217 Mon Sep 17 00:00:00 2001 From: Vasco Franco Date: Wed, 13 Mar 2024 21:26:38 +0100 Subject: [PATCH] fix(ci): Fix trunk CI --- .github/workflows/lint.yml | 5 ++++- justfile | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 justfile diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 34c269b..9bc110f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,10 +9,13 @@ concurrency: group: ${{ github.head_ref || github.run_id }} cancel-in-progress: true +permissions: read-all + jobs: lint: uses: trailofbits/.github/.github/workflows/lint.yml@v0.1.0 - # trunk-ignore(checkov/CKV2_GHA_1): Not sure why this was triggering + with: + type: just permissions: contents: read pull-requests: read diff --git a/justfile b/justfile new file mode 100644 index 0000000..f46bb58 --- /dev/null +++ b/justfile @@ -0,0 +1,2 @@ +dev: + npm install