Skip to content

Commit d41df3c

Browse files
authored
fix(io): add warning for pull input (#453)
Ref #450, #452
1 parent b3fb60f commit d41df3c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

lib/index.js

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/io.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,13 @@ export async function checkInputs() {
228228
)
229229
// #endregion
230230

231+
// #region pull
232+
if (getInput('pull') == 'NO-PULL')
233+
core.warning(
234+
"`NO-PULL` is a legacy option for the `pull` input. If you don't want the action to pull the repo, simply remove this input."
235+
)
236+
// #endregion
237+
231238
// #region push
232239
if (getInput('push')) {
233240
// It has to be either 'true', 'false', or any other string (use as arguments)

0 commit comments

Comments
 (0)