- Updated action.yml to switch from Docker to composite runs, allowing for improved token generation for private repositories.
- Added new inputs for GitHub App authentication: APP_ID, PRIVATE_KEY, and OWNER.
- Enhanced README with detailed instructions for using the action with private repositories, including GitHub App setup and authentication methods.
Signed-off-by: Alastair Mooney
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
- Changed action execution from Docker to composite with Python setup.
- Added `TARGET_REPO` input to allow issue creation in a specified repository.
- Updated `GitHubClient` to use `TARGET_REPO` for issue and milestone URLs.
- Enhanced README with instructions for cross-repository usage.
- Introduced example workflow for creating TODO issues in another repository.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This automatically sets the correct permissions in the workflow definition so that the user doesn't have to change the default workflow permissions in the repo settings.
After a bit of trial and error, I gather that the workflow API must only provide strings as input. QED, the optional inputs have to be strings. Not a big deal, except for the IDENTIFIERS value which needs to be a JSON string, which looks exactly like a YAML sequence. Updated documentation to include what I needed to see to resolve this. (Now with prettier, less-exhausting single quotes.)
After a bit of trial and error, I gather that the workflow API must only provide strings as input. QED, the optional inputs have to be strings. Not a big deal, except for the `IDENTIFIERS` value which needs to be a JSON string, which looks exactly like a YAML sequence. Updated documentation to include what I needed to see to resolve this.