Skip to content

Commit 1ff9951

Browse files
committed
Fix workflow permissions
See gh-1627
1 parent b5cd2a7 commit 1ff9951

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.github/workflows/build-and-deploy-snapshot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
push:
44
branches:
55
- '4.0.x'
6+
permissions:
7+
contents: read
68
concurrency:
79
group: ${{ github.workflow }}-${{ github.ref }}
810
jobs:

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
push:
44
branches:
55
- '4.0.x'
6+
permissions:
7+
contents: read
68
concurrency:
79
group: ${{ github.workflow }}-${{ github.ref }}
810
jobs:

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
push:
44
tags:
55
- v4.0.[0-9]+
6+
permissions:
7+
contents: read
68
concurrency:
79
group: ${{ github.workflow }}-${{ github.ref }}
810
jobs:

.github/workflows/verify.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ on:
2424
token:
2525
description: 'Token to use for authentication with GitHub'
2626
required: true
27+
permissions:
28+
contents: read
2729
jobs:
2830
verify:
2931
name: Verify

0 commit comments

Comments
 (0)