diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d3433295..0f705df2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,6 +6,11 @@ concurrency: group: ${{ github.workflow }}-${{ github.head_ref }} cancel-in-progress: true +permissions: + actions: write + contents: read + pull-requests: read + jobs: basic: name: ๐Ÿงช Run tests diff --git a/.github/workflows/initiate_release.yml b/.github/workflows/initiate_release.yml index 275b4784..2f1562ec 100755 --- a/.github/workflows/initiate_release.yml +++ b/.github/workflows/initiate_release.yml @@ -7,6 +7,10 @@ on: description: 'The new version number. Example: 1.40.1' required: true +permissions: + contents: write + pull-requests: write + jobs: init_release: name: ๐Ÿš€ Create release PR diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 99c4e39f..e5ededcc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 0bf6ad9e..99b71a07 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: read + jobs: reviewdog: name: ๐Ÿถ Reviewdog diff --git a/.github/workflows/scheduled_test.yml b/.github/workflows/scheduled_test.yml index d9526bf4..51aea651 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