diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb3d9b21..6d4cd240 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.head_ref }} cancel-in-progress: true +permissions: + contents: read + jobs: test-build: name: 👷 Test & Build diff --git a/.github/workflows/initiate_release.yml b/.github/workflows/initiate_release.yml index 07b29bd1..688f78c8 100644 --- a/.github/workflows/initiate_release.yml +++ b/.github/workflows/initiate_release.yml @@ -7,6 +7,10 @@ on: description: "The new version number with 'v' prefix. Example: v1.40.1" required: true +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 61d6e8ab..23cd5400 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 94b4c91b..ea779f68 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,10 @@ on: branches: - master +permissions: + contents: read + pull-requests: read + jobs: Release: name: 🚀 Release diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 90d0b463..25116a66 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -6,6 +6,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.head_ref }} cancel-in-progress: true +permissions: + contents: read + jobs: reviewdog: name: 🐶 Reviewdog diff --git a/.github/workflows/scheduled_test.yml b/.github/workflows/scheduled_test.yml index 0f5e0a3c..eef61257 100644 --- a/.github/workflows/scheduled_test.yml +++ b/.github/workflows/scheduled_test.yml @@ -6,6 +6,10 @@ on: # Monday at 9:00 UTC - cron: "0 9 * * 1" +permissions: + contents: read + pull-requests: write + jobs: test: runs-on: ubuntu-latest