From b50a59fea424af0d996a81d22ac2a666f515b39b Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Fri, 14 Feb 2025 18:06:10 +0000 Subject: [PATCH] More permissions changes Just two things I missed before. --- .github/workflows/main.yml | 3 +++ .github/workflows/release.yml | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 167cee8cb39..4e929d7cd3e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,6 +59,9 @@ jobs: lint: name: Lint runs-on: ubuntu-latest + permissions: + contents: read + security-events: write steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c546d101a09..4ebb340f545 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,12 +12,13 @@ on: tags: - 'v[0-9]+.[0-9]+.[0-9]+*' +permissions: + contents: read + jobs: build: name: Release runs-on: ubuntu-latest - permissions: - contents: read steps: - name: Checkout uses: actions/checkout@v4