diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9ae731..7cfba9e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.head_ref }} cancel-in-progress: true +permissions: + contents: read + jobs: test-build: name: 👷 Test & Build ${{ matrix.goVer }}${{ matrix.label }} diff --git a/.github/workflows/initiate_release.yml b/.github/workflows/initiate_release.yml index 299bf50..7f441b6 100644 --- a/.github/workflows/initiate_release.yml +++ b/.github/workflows/initiate_release.yml @@ -9,6 +9,10 @@ on: type: string pattern: "^v[0-9]+\\.[0-9]+\\.[0-9]+$" +permissions: + contents: write + pull-requests: write + jobs: init_release: name: 🚀 Create release PR diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b55cdf3..2c26c2c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,6 +6,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.head_ref }} cancel-in-progress: true +permissions: + contents: read + jobs: lint: name: 👮 Lint diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 05b51b8..4e9326a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,9 @@ on: branches: - main +permissions: + contents: write + jobs: Release: name: 🚀 Release diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index a1785c3..136c816 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -6,6 +6,10 @@ concurrency: group: ${{ github.workflow }}-${{ github.head_ref }} cancel-in-progress: true +permissions: + contents: read + pull-requests: write + jobs: reviewdog: name: 🐶 Reviewdog diff --git a/.github/workflows/scheduled_test.yml b/.github/workflows/scheduled_test.yml index e543d4d..a63739d 100644 --- a/.github/workflows/scheduled_test.yml +++ b/.github/workflows/scheduled_test.yml @@ -6,6 +6,9 @@ on: # Monday at 9:00 UTC - cron: "0 9 * * 1" +permissions: + contents: read + jobs: test: runs-on: ubuntu-latest