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

Error: Schedule events are not supported #47

Open
amotl opened this issue Dec 20, 2024 · 1 comment
Open

Error: Schedule events are not supported #47

amotl opened this issue Dec 20, 2024 · 1 comment

Comments

@amotl
Copy link

amotl commented Dec 20, 2024

Hi Ana Maria,

first things first: Thanks a stack for taking over maintenance of this excellent GHA workflow action module. Our story how we came to using it was by inheriting a GHA recipe from langchain-mongodb into langchain-cratedb just recently.

Now, we enabled nightly scheduled CI runs per crate/langchain-cratedb@6bb96d0. After that, the scheduled CI run trips like this, see run #12424824928:

Error: This action only supports pull requests and pushes, schedule events are not supported. Please submit an issue on this action's GitHub repo if you believe this in correct.

Base commit: undefined
Head commit: undefined
Error: The base and head commits are missing from the payload for this schedule event. Please submit an issue on this action's GitHub repo.
Error: Not Found

Do you have any idea how we could enable scheduled runs, where relevant Git delta information is not available at all, while still retaining get-changed-files's features for the other types of runs?

With kind regards,
Andreas.

@amotl
Copy link
Author

amotl commented Dec 22, 2024

Hi again. We are trying to fix it like that, extending the condition in the workflow at hand by using github.event_name == 'schedule'.

We thought the reason for the woes we observed was how the repository was using this GHA action together with the check_diff.py program.

However, the GHA action itself bails out: Schedule events are not supported.

@amotl amotl closed this as not planned Won't fix, can't repro, duplicate, stale Dec 23, 2024
@amotl amotl changed the title Supporting scheduled events, e.g. for nightly CI runs Error: Schedule events are not supported Dec 23, 2024
@amotl amotl reopened this Dec 23, 2024
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

No branches or pull requests

1 participant