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

FEAT: add option to outsource requirements schedule #263

Merged
merged 1 commit into from
Jan 9, 2024
Merged

Conversation

redeboer
Copy link
Member

@redeboer redeboer commented Jan 9, 2024

If a repository uses pre-commit.ci, it will always have a cron schedule job for updating .pre-commit-config.yaml. PRs created by this cron job will then trigger to the requirements workflow if available, so there is no need to have that workflow also have its own cron schedule.

Set --pin-requirements=outsource to remove the schedule from the requirements.yml workflow.

Warning

Note this only triggers a PR if there updates to the pre-commit hooks. This is less frequently the case than that there are updates in all the indirect dependencies.

@redeboer redeboer added the ✨ Feature New feature added to the package label Jan 9, 2024
@redeboer redeboer self-assigned this Jan 9, 2024
@redeboer redeboer merged commit d27991b into main Jan 9, 2024
24 checks passed
@redeboer redeboer deleted the no-cron-job branch January 9, 2024 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature New feature added to the package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant