diff --git a/.github/workflows/check-pr-title.yml b/.github/workflows/check-pr-title.yml index df68a2b..5d39946 100644 --- a/.github/workflows/check-pr-title.yml +++ b/.github/workflows/check-pr-title.yml @@ -4,6 +4,10 @@ on: branches: [ "main" ] types: [opened, edited, synchronize, ready_for_review, reopened] +permissions: + contents: read + pull-requests: read + jobs: check-pr-title: name: Check PR title diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 9cff3e8..90439e4 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [ "main" ] +permissions: + contents: read + jobs: build: name: "Checking the package: testing and linting"