-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Automation rules: allow passing extra arguments to match and action #7694
base: main
Are you sure you want to change the base?
Conversation
Some times we may want to pass additional data around to the match and action functions. This is data that isn't available in the version object. Like the extra data needed to match external versions. We also need to return the response of the action, this is to allow the caller know what happened in the action. This was extracted from #7664
3f964bf
to
a6bcbbb
Compare
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
1571dac
to
40b18db
Compare
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Some times we may want to pass additional data around to the match and
action functions.
This is data that isn't available in the version object.
Like the extra data needed to match external versions.
We also need to return the response of the action,
this is to allow the caller know what happened in the action.
Moved the actions to the base class, since it doesn't look like we are going to have a different set of actions,
also moved the match regex method to a function, since is going to be used to match the base branch too.
This was extracted from #7664