fix(io): add warning for pull input (#453)

Ref #450, #452
This commit is contained in:
Federico Grandi
2022-11-07 09:13:02 +01:00
committed by GitHub
parent b3fb60fa06
commit d41df3cf95
2 changed files with 8 additions and 1 deletions

2
lib/index.js generated

File diff suppressed because one or more lines are too long

View File

@@ -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)