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

How to prevent a callback loop? #13

Open
kerim1 opened this issue Feb 4, 2025 · 1 comment
Open

How to prevent a callback loop? #13

kerim1 opened this issue Feb 4, 2025 · 1 comment
Assignees

Comments

@kerim1
Copy link
Collaborator

kerim1 commented Feb 4, 2025

We trigger an update, so the editor will trigger the hook and will call the pipeline again.
So we might have to update the status to indicate that the pipeline has processed it.
Or we have to use the 'user' parameter to see if the update was caused by the pipeline, if that is possible?

@menzowindhouwer
Copy link

menzowindhouwer commented Feb 4, 2025

@ekoi is working on making it possible to use the API token for the "protected" API, that token will map to the default user (app specific or global). If we add users to the editor you can see if the hook was triggered by the default user (API token) or an editor (basic auth for now)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants