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

Use keep alive in API mode in-workflow #265

Merged
merged 1 commit into from
May 8, 2024

Conversation

jaimergp
Copy link
Member

@jaimergp jaimergp commented May 7, 2024

The keep alive v2 action allows to use the GH API instead of dummy commits. However, it comes with a few pitfalls 🤔

  • The API call keeps a workflow alive, not the entire repository. So we need to either add the step to every workflow to keep alive, or use the workflows setting. This is prone to break.
  • We need to update the permissions in the workflow too.

Since we have a single cronjob CI, in this repo I'm merging the two workflows for simplicity and a cleaner git history. Let me know if you prefer a separate workflow file + dummy commits, though.

@jakirkham
Copy link
Member

Thanks Jaime! 🙏

Let's give this a try

@jakirkham jakirkham merged commit 3d6280b into conda-forge:main May 8, 2024
11 checks passed
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 this pull request may close these issues.

2 participants