Skip to content

Commit ca149aa

Browse files
chore: add permissions for example job in workflow files
1 parent de8965b commit ca149aa

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/base-beta.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
enable-fix-tests: true
2929
fvm-flavor: beta
3030
example:
31+
permissions:
32+
contents: read
3133
uses: flutter-form-builder-ecosystem/.github/.github/workflows/build-examples.yaml@main
3234
with:
3335
fvm-flavor: beta

.github/workflows/base.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
codecov-name: flutter_form_builder
2727
enable-fix-tests: true
2828
example:
29+
permissions:
30+
contents: read
2931
uses: flutter-form-builder-ecosystem/.github/.github/workflows/build-examples.yaml@main
3032

3133

0 commit comments

Comments
 (0)