From e62403ee772df415e44943fbe37a6d8a5a8a0467 Mon Sep 17 00:00:00 2001 From: GrantBirki Date: Tue, 31 Oct 2023 17:09:59 -0600 Subject: [PATCH] update workflow triggers and permissions --- .github/workflows/ci.yml | 3 +++ .github/workflows/linter.yml | 10 ++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4126e7..1dfab1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,9 @@ on: - main - 'releases/*' +permissions: + contents: read + jobs: test-typescript: name: TypeScript Tests diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index ed9ec48..c7b7160 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -5,19 +5,17 @@ on: branches: - main push: - branches-ignore: + branches: - main +permissions: + contents: read + jobs: lint: name: Lint Code Base runs-on: ubuntu-latest - permissions: - contents: read - packages: read - statuses: write - steps: - name: Checkout id: checkout