mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Merge pull request #8189 from turrisxyz/Pinned-Dependencies-GitHub
chore: Set permissions for GitHub actions
This commit is contained in:
commit
1d32a47d9e
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -1,6 +1,9 @@
|
|||||||
name: Run unit tests
|
name: Run unit tests
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
name: Check PHP syntax
|
name: Check PHP syntax
|
||||||
@ -42,6 +45,8 @@ jobs:
|
|||||||
- run: |
|
- run: |
|
||||||
git ls-files | grep \\\.php$ | grep -v ^dictionaries/scripts/* | ./vendor/bin/parallel-lint --stdin
|
git ls-files | grep \\\.php$ | grep -v ^dictionaries/scripts/* | ./vendor/bin/parallel-lint --stdin
|
||||||
chunk-matrix:
|
chunk-matrix:
|
||||||
|
permissions:
|
||||||
|
contents: none
|
||||||
name: Generate Chunk Matrix
|
name: Generate Chunk Matrix
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
3
.github/workflows/shepherd.yml
vendored
3
.github/workflows/shepherd.yml
vendored
@ -2,6 +2,9 @@ name: Run Shepherd
|
|||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
5
.github/workflows/windows-ci.yml
vendored
5
.github/workflows/windows-ci.yml
vendored
@ -2,8 +2,13 @@ name: Run unit tests on Windows
|
|||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
chunk-matrix:
|
chunk-matrix:
|
||||||
|
permissions:
|
||||||
|
contents: none
|
||||||
name: Generate Chunk Matrix
|
name: Generate Chunk Matrix
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user