diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index cf50545a..efa84bda 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -4,6 +4,9 @@ on: - push - pull_request +permissions: + contents: read # to fetch code (actions/checkout) + jobs: tests: name: "CI (PHP ${{ matrix.php-version }}, ${{ matrix.dependencies }} deps)" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9e20a03e..a7482ace 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,6 +4,9 @@ on: push: pull_request: +permissions: + contents: read # to fetch code (actions/checkout) + jobs: tests: name: "Lint" diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 434324ce..fcf5007e 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -7,6 +7,9 @@ on: env: COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist" +permissions: + contents: read # to fetch code (actions/checkout) + jobs: tests: name: "PHPStan"