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

[AutoPR] TODO split out multiple triggered workflows into s ... #133

Open
github-actions bot opened this issue Nov 5, 2023 · 0 comments
Open

[AutoPR] TODO split out multiple triggered workflows into s ... #133

github-actions bot opened this issue Nov 5, 2023 · 0 comments
Labels

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2023

TODO split out multiple triggered workflows into separate PRs

self,
event: EventUnion,
):
triggers_and_contexts = self._get_triggers_and_contexts_for_event(event)
# TODO split out multiple triggered workflows into separate PRs
if any(trigger.verbose for trigger, _ in triggers_and_contexts):
self.publish_service.verbose = True
trigger_coros = await self._get_trigger_coros_for_event(triggers_and_contexts)
if not trigger_coros:

await self.publish_service.close(
"Closing because the PR makes no changes",
)
# Else, if there are material changes
elif changes_status == "modified":
# TODO split out multiple triggered workflows into separate PRs
automerge_triggers = [trigger for trigger in triggers if trigger.automerge]
if automerge_triggers:
automerge_ids = [
self._get_id_for_executable(trigger.run) for trigger in automerge_triggers
]

To resolve this TODO, you can start by identifying the multiple triggered workflows and understanding their dependencies. Then, create separate pull requests for each workflow, ensuring that they are self-contained and do not impact each other. Finally, review and test each pull request individually before merging them into the main codebase.

@github-actions github-actions bot added the medium label Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants