Closed timdittler closed 6 months ago
@timdittler you cool if I get a PR up for this? or were you planning to go after it?
@jmeridth Of course. I would be happy if you fixed it!
@timdittler reading the code more, I believe we currnetly don't want to make ORGANIZATION
required. As the README currently reads, a user can provide a REPOSITORY
environment variable instead of ORGANIZATION
that includes specific repositories, from potentially multiple organizations. Currently at least one of them is required.
What I'm thinking:
If ORGANIZATION
environment variable is provided:
if REPOSITORY
environment variable list is provided instead:
organization
variable in this line of code (the one causing the error in this issue)note: currently, if both environment variables are used, ORGANIZATION
has priority and REPOSITORY
is ignored. (future, allow both and parse accordingly)
Gonna try out a PR.
Contrary to the README, the env var ORGANIZATION is always required. Otherwise the action will fail with