1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-12 16:14:08 +02:00

GitHub Workflows security hardening (#1763)

Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
Alex
2023-02-04 22:29:31 +01:00
committed by GitHub
parent 8255feb444
commit 3b866c9185
3 changed files with 9 additions and 0 deletions

View File

@@ -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)"

View File

@@ -4,6 +4,9 @@ on:
push:
pull_request:
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
tests:
name: "Lint"

View File

@@ -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"