Skip to content

Action doesn't fail on invalid credentials #922

@neykov

Description

@neykov

Description:
Upon configuring the action with invalid credentials it reports a successful completion even though it wasn't able to connect.

Starting the stale action process...
Error: Get issues for repo error: Bad credentials
No more issues found to process. Exiting...
Statistics:
Operations performed: 1

Action version:
6.0.1

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:

  • Configure the action as usual
  • Provide invalid repo-token

Expected behavior:
The job should fail, along with the whole action execution.

Actual behavior:
The job successfully completes, even though it's not able to connect.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions