File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,24 @@ permissions:
55
66on :
77 workflow_call :
8+ # Re-usable workflows do not automatically inherit the caller's secrets.
9+ #
10+ # If the calling workflow uses a secret in the `setup_command` input, then
11+ # it also must pass the secret to the re-usable workflow.
12+ #
13+ # Example:
14+ #
15+ # pod_lib_lint:
16+ # uses: ./.github/workflows/common_cocoapods.yml
17+ # with:
18+ # product: FirebaseFoo
19+ # setup_command: |
20+ # scripts/decrypt_gha_secret.sh \
21+ # /path/to/GoogleService-Info.plist.gpg \
22+ # /path/to/dest/GoogleService-Info.plist "$plist_secret"
23+ # secrets:
24+ # plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
25+ #
826 secrets :
927 plist_secret :
1028 required : false
Original file line number Diff line number Diff line change 4242 mkdir FirebaseMLModelDownloader/Tests/Integration/Resources
4343 scripts/decrypt_gha_secret.sh scripts/gha-encrypted/MLModelDownloader/GoogleService-Info.plist.gpg \
4444 FirebaseMLModelDownloader/Tests/Integration/Resources/GoogleService-Info.plist "$plist_secret"
45- echo "$MY_SECRET_14904"
46- ls FirebaseMLModelDownloader/Tests/Integration/Resources/GoogleService-Info.plist
4745 secrets :
4846 plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
4947
You can’t perform that action at this time.
0 commit comments