Skip to content

Commit

Permalink
fix(io): add warning for pull input (actions#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
EndBug committed Nov 7, 2022
1 parent b3fb60f commit d41df3c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions src/io.ts
Expand Up @@ -228,6 +228,13 @@ export async function checkInputs() {
)
// #endregion

// #region pull
if (getInput('pull') == 'NO-PULL')
core.warning(
"`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."
)
// #endregion

// #region push
if (getInput('push')) {
// It has to be either 'true', 'false', or any other string (use as arguments)
Expand Down

0 comments on commit d41df3c

Please sign in to comment.