cncf-tags / green-reviews-tooling

Project Repository for the WG Green Reviews which is part of the CNCF TAG Environmental Sustainability
https://github.com/cncf/tag-env-sustainability/tree/main/working-groups/green-reviews
Apache License 2.0
27 stars 14 forks source link

feat: Trigger other Benchmark workflows #106

Closed dipankardas011 closed 5 months ago

dipankardas011 commented 5 months ago

What type of PR is this?

kind/feature

What this PR does / why we need it:

Which issue(s) this PR fixes:

Special notes for your reviewer (optional):

dipankardas011 commented 5 months ago

Only place left for testing this script is workflow_dispatch with 2 types of workflows which can have sub_components or not have it

also need to think of do we send one sub_component at a time or all at once like a json array or a string with each having its individual workflow_call?

dipankardas011 commented 5 months ago

@rossf7 Should I add color for error and success logs?

dipankardas011 commented 5 months ago

LGTM 💚

But the env var for the gh_pat token?

rossf7 commented 5 months ago

But the env var for the gh_pat token?

@dipankardas011 We need to open a service desk ticket to request a new token. I'll take care but will need some help from the other leads.

rossf7 commented 4 months ago

@dipankardas011 Token is added as a secret and working well here. https://github.com/cncf-tags/green-reviews-tooling/issues/7#issuecomment-2189406546

Nice job! 🚀

There is an issue with the deploy step itself. Will debug that later