Skip to content

Commit 31d1790

Browse files
author
Kenneth Rosario
authored
chore: address remaining scorecard findings (#155)
1 parent 3dcd447 commit 31d1790

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

.github/workflows/buildpack-integration-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches:
66
- main
77
workflow_dispatch:
8+
9+
# Declare default permissions as read only.
10+
permissions: read-all
11+
812
jobs:
913
ruby30-buildpack-test:
1014
uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/[email protected]

.github/workflows/conformance.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
branches:
88
- main
99
workflow_dispatch:
10+
11+
# Declare default permissions as read only.
12+
permissions: read-all
13+
1014
jobs:
1115
conformance:
1216
runs-on: ubuntu-latest

.github/workflows/push-gh-pages.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@ on:
44
release:
55
types: [published]
66

7+
# Declare default permissions as read only.
8+
permissions: read-all
9+
710
jobs:
811
push-gh-pages:
912
env:
1013
ruby_version: "3.0"
1114
runs-on: ubuntu-latest
15+
permissions:
16+
pages: write
1217
steps:
1318
- name: Harden Runner
1419
uses: step-security/harden-runner@18bf8ad2ca49c14cbb28b91346d626ccfb00c518 # v2.1.0

0 commit comments

Comments
 (0)