Skip to content

Commit

Permalink
Merge pull request #878 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
colinodell committed Jun 4, 2022
2 parents 6eddb90 + 9c69d63 commit 5750ff2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/backwards-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: "Backwards compatibility"
on:
pull_request:

permissions:
contents: read

jobs:
bc-check:
name: "Backwards compatibility check"
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push: ~
pull_request: ~

permissions:
contents: read

jobs:
phpcs:
name: PHPCS
Expand Down Expand Up @@ -103,6 +106,9 @@ jobs:
- run: vendor/bin/psalm --no-progress --stats --threads=$(nproc) --output-format=github --shepherd

docs-lint:
permissions:
contents: read # for actions/checkout to fetch code
statuses: write # for github/super-linter/slim to mark status of each linter run
name: Markdownlint
runs-on: ubuntu-latest

Expand Down

0 comments on commit 5750ff2

Please sign in to comment.