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 new operation local-apply and use it for the ApplyChangesTask #258

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

netomi
Copy link
Contributor

@netomi netomi commented Aug 7, 2024

This fixes #257 .

Adds a new operation local-apply to apply all changes between two local configurations.
That is used in the ApplyChangesTask of the GitHub App to apply approved changes from a PR. The task will fetch the latest config that has been modified by the PR and the previous one, run the local-apply operation with these 2 configs.

That should avoid getting the current live configuration from GitHub, reducing the number of API calls and speeding up the applying. It is safe to do so as the check-sync task will ensure that the configuration is in sync.

@netomi netomi merged commit 8b19e01 into main Aug 7, 2024
5 checks passed
@netomi netomi deleted the add-local-apply-operation branch August 7, 2024 19:21
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.

Support for a local-apply operation
1 participant