Skip to content

Commit 14aa51c

Browse files
author
cw
committed
fix: iOS App Store permissions and Android Play Store draft status
- Add permissions: contents: write to iOS and Android store workflows (fixes "Resource not accessible by integration" error) - Set release_status: draft for Android internal track (fixes "Only releases with status draft may be created on draft app")
1 parent 5de63e8 commit 14aa51c

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/android-play-store.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ on:
1616
- beta
1717
- production
1818

19+
permissions:
20+
contents: write
21+
1922
env:
2023
FLUTTER_VERSION: '3.32.2'
2124
JAVA_VERSION: '17'

.github/workflows/ios-app-store.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
default: false
1313
type: boolean
1414

15+
permissions:
16+
contents: write
17+
1518
env:
1619
FLUTTER_VERSION: '3.32.2'
1720

opencli_app/android/fastlane/Fastfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ platform :android do
5757
track: 'internal',
5858
aab: aab_path,
5959
json_key_data: ENV['PLAY_STORE_JSON_KEY'],
60+
release_status: 'draft',
6061
skip_upload_metadata: true,
6162
skip_upload_images: true,
6263
skip_upload_screenshots: true

0 commit comments

Comments
 (0)