ropensci-org / badges

Badges for packages in rOpenSci software peer-review
3 stars 0 forks source link

label event #1

Closed maelle closed 1 year ago

maelle commented 3 years ago

See https://github.com/r-hub/docs/blob/master/.github/workflows/pr.yml (that works but is for PRs)

and https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#issues

maelle commented 3 years ago

ah but this would only work if the workflow were in the software-review repo, sorry @sckott @karthik

maelle commented 3 years ago

Also, you could add "unlabeled", "opened", "closed" as types I suppose.

sckott commented 3 years ago

i'm a bit confused, so the trigger on label would work or would not?

maelle commented 3 years ago

it would work (unless I forgot a tab or so) but the workflow file has to live in the repo where the issues are labelled i.e. in sotware-review.

sckott commented 3 years ago

ok. i think it just makes more sense to have the badges stuff be a in separate repo. maybe @karthik has a preference here

karthik commented 3 years ago

I have no preference here. If Maëlle is saying that it only works if the code is in the same repo as the labels, then we might have to move it to the software review repo.

mpadge commented 1 year ago

@maelle If this is not going to work anyway, can we just close now?