StackStorm-Exchange / exchange-incubator

Submit your StackStorm integration and automation packs here.
12 stars 61 forks source link

Bootstrap: Fix commentor permissions validation #177

Closed cognifloyd closed 2 years ago

cognifloyd commented 2 years ago

It turns out I was testing as an admin while developing this workflow. When I tried to trigger the bootstrap workflow under StackStorm-Exchange, however, I only have maintain permission as a member of the TSC. That shows up as a CONTRIBUTOR, so the permissions check inadvertently excluded me.

This adds another step to the workflow to make sure that the commentor can commit to the repository, which includes the TSC and any robots. Hopefully that covers all the TSC members - if anyone else finds another edge case (maybe a TSC member who has not made any commits in the incubator) we may have to further tune this check.

nzlosh commented 2 years ago

!bootstrap pack

bishopbm1 commented 2 years ago

!bootstrap pack

lm-ydubler commented 2 years ago

!bootstrap pack