mirror of
https://github.com/FlipsideCrypto/near-models.git
synced 2026-02-06 14:26:52 +00:00
10 lines
428 B
SQL
10 lines
428 B
SQL
{% macro dispatch_github_workflow(repo_name, workflow_name, gb_id) %}
|
|
{% set context_query %}
|
|
SET LIVEQUERY_CONTEXT = '{"userId":"{{ gb_id }}"}';
|
|
{% endset %}
|
|
{% do run_query(context_query) %}
|
|
{% set query %}
|
|
SELECT livequery_dev.github_actions.workflow_dispatches('FlipsideCrypto', '{{ repo_name }}', '{{ workflow_name }}.yml', NULL)
|
|
{% endset %}
|
|
{% do run_query(query) %}
|
|
{% endmacro %} |