You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So we can make the github-stars example work again (after removing the old state mechanism #1007).
Workflow should be able to get X last workflow executions and their results.
The text was updated successfully, but these errors were encountered:
In #1029 I suggest a different approach where we add the last workflow execution to the context manager.
It might create "race" conditions if workflow interval is too often but I think it's good enough for now.
Workflow example:
id: new-github-starsdescription: Notify Slack about new GitHub star for keephq/keeptriggers:
- type: manual
- type: intervalvalue: 300owners: []services: []steps:
- name: get-github-starsprovider:
config: "{{ providers.github }}"type: github.starswith:
previous_stars_count:
default: 0key: "{{ last_workflow_results.get-github-stars.0.stars }}"repository: keephq/keep
Main difference is: key: "{{ last_workflow_results.get-github-stars.0.stars }}"
So we can make the github-stars example work again (after removing the old state mechanism #1007).
Workflow should be able to get X last workflow executions and their results.
The text was updated successfully, but these errors were encountered: