Skip to content

Commit

Permalink
chore: make workflows' default permission read only (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenneth-rosario authored Apr 11, 2023
1 parent ed6afaa commit d54e85f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/buildpack-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- main
workflow_dispatch:

# Declare default permissions as read only.
permissions: read-all

jobs:
php74-buildpack-test:
uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@v1.8.0
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
- main
pull_request:
workflow_dispatch:

# Declare default permissions as read only.
permissions: read-all

jobs:
build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit d54e85f

Please sign in to comment.