-
Hi. I have a workflow that runs an expensive check and I only want to run it automatically once a day per "configuration". The condition when this expensive workflow shall run is complicated and we cannot determine this by any schedule. Instead we have another workflow that checks if a "configuration" is all green and it makes sense to run the expensive checks on it. This workflow is scheduled to run every hour. Is there a way to list workflow runs and find out what the inputs were? Based on this I could decide if we need to run the expensive check workflow or not. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
I've found an answer and will post it here tomorrow. |
Beta Was this translation helpful? Give feedback.
-
Hi. You can use a combination of GitHub Actions and GitHub API. Only remember to handle rate limits and authentication when using the GitHub API. |
Beta Was this translation helpful? Give feedback.
-
I will show high-level overview. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
I just wanted to inform that I've used invisible |
Beta Was this translation helpful? Give feedback.
I just wanted to inform that I've used invisible
<!-- HTML comments -->
in the initial issue comment to track information about my expensive workflows. If they have outdated I re-ran a workflow it works very seamlessly and allows me to store much more information than I anticipated before.