Skip to content

Commit 10f7341

Browse files
authored
Merge pull request #880 from gradle/gf/workflow-permissions
Declare workflow permissions explicitly
2 parents 72a9a77 + b218b1f commit 10f7341

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

.github/workflows/build-verification.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Verify Build
22

3+
permissions:
4+
contents: read
5+
36
on:
47
pull_request:
58
branches: [ main ]

.github/workflows/cross-platform-testing-build-from-source.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Run Cross-Platform Tests (Build From Source)
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches:

.github/workflows/cross-platform-testing-use-development-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Run Cross-Platform Tests (Use Development Release)
22

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_run:
58
workflows: [Create Development Release]

.github/workflows/development-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Create Development Release
22

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_dispatch:
58
inputs:

.github/workflows/production-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Create Production Release
22

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_dispatch:
58
inputs:

0 commit comments

Comments
 (0)