Skip to content

Commit

Permalink
Merge pull request #8189 from turrisxyz/Pinned-Dependencies-GitHub
Browse files Browse the repository at this point in the history
chore: Set permissions for GitHub actions
  • Loading branch information
orklah committed Jun 29, 2022
2 parents 51c6e99 + bd50c4e commit 1d32a47
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
@@ -1,6 +1,9 @@
name: Run unit tests

on: [push, pull_request]
permissions:
contents: read

jobs:
lint:
name: Check PHP syntax
Expand Down Expand Up @@ -42,6 +45,8 @@ jobs:
- run: |
git ls-files | grep \\\.php$ | grep -v ^dictionaries/scripts/* | ./vendor/bin/parallel-lint --stdin
chunk-matrix:
permissions:
contents: none
name: Generate Chunk Matrix

runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/shepherd.yml
Expand Up @@ -2,6 +2,9 @@ name: Run Shepherd

on: [push, pull_request]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/windows-ci.yml
Expand Up @@ -2,8 +2,13 @@ name: Run unit tests on Windows

on: [push, pull_request]

permissions:
contents: read

jobs:
chunk-matrix:
permissions:
contents: none
name: Generate Chunk Matrix

runs-on: ubuntu-latest
Expand Down

0 comments on commit 1d32a47

Please sign in to comment.