Skip to content
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

Workflow fails on cron jobs #24

Closed
mpowelson opened this issue Apr 10, 2020 · 2 comments · Fixed by #74
Closed

Workflow fails on cron jobs #24

mpowelson opened this issue Apr 10, 2020 · 2 comments · Fixed by #74

Comments

@mpowelson
Copy link

I'm getting failures when my workflow is triggered by a cron job. I get the following error

No commit information is found in payload: {
  "schedule": "0 5 * * *"
}

Is this to be expected? Looking at this code if appears that it assumes the job is being triggered by a pull request. Should it instead get it from the GITHUB_SHA environment variable?

@pksunkara
Copy link
Contributor

Yup, the action tries to get the commit from the job. I made #23 which should fix the issue.

@danilito19
Copy link

What's the status on getting this fixed?

lipchev added a commit to lipchev/UnitsNet-Benchmarks that referenced this issue Apr 28, 2021
@ktrz ktrz closed this as completed in #74 Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants