Skip to content

Commit 9b45ad2

Browse files
chore: add required permissions to update-flutter-sdk (#237)
1 parent 74e71a2 commit 9b45ad2

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,13 @@ jobs:
9494
echo "::notice title=Release ID::${{ steps.create-release.outputs.release-id }}"
9595
echo "::notice title=Release URL::${{ steps.create-release.outputs.release-url }}"
9696
97-
# TODO: update this workflow with the appropriate permissions
98-
# update-flutter-sdk:
99-
# uses: DevCycleHQ/flutter-client-sdk/.github/workflows/update-android-sdk-version.yaml@main
100-
# needs: release
101-
# if: inputs.draft != 'true'
102-
# with:
103-
# target-version: ${{ needs.release.outputs.next-release-tag }}
104-
# secrets: inherit
105-
# permissions:
106-
# contents: write
107-
# pull-requests: write
97+
update-flutter-sdk:
98+
uses: DevCycleHQ/flutter-client-sdk/.github/workflows/update-android-sdk-version.yaml@main
99+
needs: release
100+
if: inputs.draft != 'true'
101+
with:
102+
target-version: ${{ needs.release.outputs.next-release-tag }}
103+
secrets: inherit
104+
permissions:
105+
contents: write
106+
pull-requests: write

0 commit comments

Comments
 (0)