Skip to content

Commit 308c6ff

Browse files
authored
Specify workflow permissions for build-and-deploy action (flutter#948)
* add write permissions to build-and-deploy action fixes#914 * formatting
1 parent 822a046 commit 308c6ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
- master
66
jobs:
77
build-and-deploy:
8+
permissions:
9+
contents: write
810
runs-on: ubuntu-latest
911

1012
steps:

0 commit comments

Comments
 (0)