diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index 6864bd4..96882d6 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -10,6 +10,9 @@ on: - cron: "0 0 * * 0" workflow_dispatch: +permissions: + contents: read + jobs: cleanup: runs-on: ubuntu-latest diff --git a/.github/workflows/pr-title-check.yml b/.github/workflows/pr-title-check.yml index e2a42f9..9fcfaf9 100644 --- a/.github/workflows/pr-title-check.yml +++ b/.github/workflows/pr-title-check.yml @@ -4,9 +4,15 @@ on: pull_request: types: [opened, edited, synchronize, reopened] +permissions: + contents: read + pull-requests: read + jobs: lint: runs-on: ubuntu-latest + permissions: + statuses: write steps: - uses: aslafy-z/conventional-pr-title-action@v3 env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6e0a3dc..ad32a88 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,6 +12,10 @@ on: pull_request: types: [opened, synchronize, reopened] +permissions: + contents: read + pull-requests: read + jobs: lint: runs-on: ubuntu-latest