File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -154,7 +154,11 @@ jobs:
154154 fi
155155 - name : Run setup command
156156 if : inputs.setup_command != ''
157- run : ${{ inputs.setup_command }}
157+ # This file is used as a template for other workflows, so
158+ # using a template include here is necessary; however, this
159+ # means downstream consumers must be careful not to accept user
160+ # input into their setup_commands.
161+ run : ${{ inputs.setup_command }} # zizmor: ignore[template-injection]
158162 - name : Build
159163 uses : nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
160164 with :
Original file line number Diff line number Diff line change 9494 if : inputs.setup_command != ''
9595 env :
9696 plist_secret : ${{ secrets.plist_secret }}
97- run : ${{ inputs.setup_command }}
97+ run : ${{ inputs.setup_command }} # zizmor: ignore[template-injection]
9898 - name : PodLibLint Cron
9999 uses : nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
100100 with :
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ jobs:
171171 if : inputs.setup_command != ''
172172 env :
173173 plist_secret : ${{ secrets.plist_secret }}
174- run : ${{ inputs.setup_command }}
174+ run : ${{ inputs.setup_command }} # zizmor: ignore[template-injection]
175175 - name : Lint ${{ inputs.product }}.podspec for ${{ matrix.platform }}
176176 uses : nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
177177 if : contains(inputs.platforms, matrix.platform)
Original file line number Diff line number Diff line change 9191 mkdir -p "${HOME}"/ios_frameworks/
9292 find "${GITHUB_WORKSPACE}" -name "Firebase*latest.zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
9393 - name : Setup quickstart
94- run : ${{ inputs.setup_command }}
94+ run : ${{ inputs.setup_command }} # zizmor: ignore[template-injection]
9595 - name : Install Secret GoogleService-Info.plist
9696 env :
9797 PLIST_SRC_PATH : ${{ inputs.plist_src_path }}
Original file line number Diff line number Diff line change 8888 continue_on_error : true
8989 command : xcodebuild -downloadPlatform iOS
9090 - name : Run setup command.
91- run : ${{ inputs.setup_command }}
91+ run : ${{ inputs.setup_command }} # zizmor: ignore[template-injection]
9292 - name : Install Secret GoogleService-Info.plist
9393 env :
9494 PLIST_SRC_PATH : ${{ inputs.plist_src_path }}
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ jobs:
171171 command : xcodebuild -downloadPlatform ${{ matrix.platform }}
172172 - name : Run setup command, if needed.
173173 if : inputs.setup_command != ''
174- run : ${{ inputs.setup_command }}
174+ run : ${{ inputs.setup_command }} # zizmor: ignore[template-injection]
175175 - name : Initialize xcodebuild
176176 run : scripts/setup_spm_tests.sh
177177 - uses : nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
Original file line number Diff line number Diff line change 2626 with :
2727 app-id : ${{ secrets.DANGER_APP_ID }}
2828 private-key : ${{ secrets.DANGER_APP_PRIVATE_KEY }}
29+ permissions :
30+ contents : read
31+ issues : write
32+ pull-requests : write
2933
3034 - uses : ruby/setup-ruby@89f90524b88a01fe6e0b732220432cc6142926af # v1.313.0
3135 - name : Setup Bundler
Original file line number Diff line number Diff line change 8888 - name : Xcode
8989 run : sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
9090 - name : Setup quickstart
91- run : ${{ matrix.setup_command }}
91+ run : ${{ matrix.setup_command }} # zizmor: ignore[template-injection]
9292 - name : Install Secret GoogleService-Info.plist
9393 run : |
9494 scripts/decrypt_gha_secret.sh \
You can’t perform that action at this time.
0 commit comments