Skip to content

Commit e1b8e29

Browse files
authored
Merge pull request #112 from tweakdeveloper/master
Add trust-plugins input
2 parents 22c08b0 + aa8060e commit e1b8e29

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,12 @@ inputs:
129129
Beware that artifacts count against your GitHub Actions storage limits.
130130
default: on-failure
131131
required: false
132+
trust-plugins:
133+
description: |
134+
Skip Swift Package Manager build plugin validation.
135+
This may be a security risk.
136+
default: 'false'
137+
required: false
132138
runs:
133139
using: 'node20'
134140
main: 'dist/index.js'

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,10 @@ async function main() {
232232
break
233233
}
234234

235+
if (core.getBooleanInput('trust-plugins')) {
236+
args.push('-skipPackagePluginValidation')
237+
}
238+
235239
if (action) args.push(action)
236240

237241
await xcodebuildX(args, xcpretty)

0 commit comments

Comments
 (0)