-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning: "Unexpected input 'github_token'" #53
Comments
I've just gotten the same thing pop up, I was testing this last week and wasn't hitting it, all of a sudden it has appeared. |
I'm getting mixed messages in trying to run this. I saw this one but then the next time trying to run it gave a "refusing to allow a GitHub App to create or update workflow" error. Changes found with Git
Committing changes
Pushing changes with Git
remote: fatal error in commit_refs
To https://github.com/camjac251/project
! [remote rejected] actions-test -> actions-test (failure)
error: failed to push some refs to 'https://github.com/camjac251/project'
Error: Command failed: git push
remote: fatal error in commit_refs
To https://github.com/camjac251/project
! [remote rejected] actions-test -> actions-test (failure)
error: failed to push some refs to 'https://github.com/camjac251/project'
at checkExecSyncError (child_process.js:621:11)
at execSync (child_process.js:657:15)
at run (/home/runner/work/_actions/samuelmeuli/lint-action/v1/src/utils/action.js:69:18) at processTicksAndRejections (internal/process/task_queues.js:93:5) {
status: 1,
signal: null,
output: [
null,
'',
'To https://github.com/camjac251/project\n' +
' ! [remote rejected] production -> production (refusing to allow a GitHub App to create or update workflow `.github/workflows/lint.yml` without `workflows` permission)\n' +
"error: failed to push some refs to 'https://github.com/camjac251/project'\n"
],
pid: 3172,
stdout: '',
stderr: 'To https://github.com/camjac251/project\n' +
' ! [remote rejected] production -> production (refusing to allow a GitHub App to create or update workflow `.github/workflows/lint.yml` without `workflows` permission)\n' +
"error: failed to push some refs to 'https://github.com/camjac251/project'\n"
}
/home/runner/work/_actions/samuelmeuli/lint-action/v1/src/index.js:13
throw new Error(`Exiting because of unhandled promise rejection`);
^
Error: Exiting because of unhandled promise rejection
at process.<anonymous> (/home/runner/work/_actions/samuelmeuli/lint-action/v1/src/index.js:13:8)
at process.emit (events.js:210:5)
at processPromiseRejections (internal/process/promises.js:201:33)
at processTicksAndRejections (internal/process/task_queues.js:94:32)
at processTicksAndRejections (internal/process/task_queues.js:93:5) {
status: 1,
signal: null,
output: [
null,
'',
'To https://github.com/camjac251/project\n' +
' ! [remote rejected] production -> production (refusing to allow a GitHub App to create or update workflow `.github/workflows/lint.yml` without `workflows` permission)\n' +
"error: failed to push some refs to 'https://github.com/camjac251/project'\n"
],
pid: 3172,
stdout: '',
stderr: 'To https://github.com/camjac251/project\n' +
' ! [remote rejected] production -> production (refusing to allow a GitHub App to create or update workflow `.github/workflows/lint.yml` without `workflows` permission)\n' +
"error: failed to push some refs to 'https://github.com/camjac251/project'\n"
}
/home/runner/work/_actions/samuelmeuli/lint-action/v1/src/index.js:13
throw new Error(`Exiting because of unhandled promise rejection`);
^
Error: Exiting because of unhandled promise rejection
at process.<anonymous> (/home/runner/work/_actions/samuelmeuli/lint-action/v1/src/index.js:13:8)
at process.emit (events.js:210:5)
at processPromiseRejections (internal/process/promises.js:201:33)
at processTicksAndRejections (internal/process/task_queues.js:94:32) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm using following the README.md example for
javascript-example-eslint-and-prettier
, but the workflow shows unexpected input, checking the inputs that's correct that input is not expected. Also it's trying to push changes to.github
folder but not sure why. It's a private repoHere is the error:
This is my
lint.yml
file:The text was updated successfully, but these errors were encountered: