Skip to content

Github action fails with error when trying to create error jira #1001

@wtrocki

Description

@wtrocki

Error: Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/openapi/openapi/.github/workflows/task-failure-handler.yml'. Did you forget to run actions/checkout before running your local action?

When we check out a branch other than main, the .github folder isn’t included since it is only in main. So, when the action fails on dev/qa/staging, we should first check out the .github folder from the main branch and then call the failure-handler action

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions