Commit Graph

593 Commits

Author SHA1 Message Date
Shakar Bakr
0740d8c2c3
Fix URL construction in GitHubClient.py for pull requests and issues by replacing target_repo with repo, ensuring correct references in API calls.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-15 15:48:10 +03:00
Shakar Bakr
08ba67b66b
Update action.yml to specify the TODO to Issue action using a Docker image, enhancing deployment consistency.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-15 14:56:20 +03:00
Shakar Bakr
66b9c37de2
Update action.yml to change the TODO to Issue action version from v5.1.12 to a custom test version, ensuring alignment with specific testing requirements.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-15 14:54:34 +03:00
Shakar Bakr
323f55a336
Merge remote-tracking branch 'upstream/master'
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-15 14:46:08 +03:00
Shakar Bakr
d41b4a507f
Update action.yml to use the latest version of the TODO to Issue action, improving functionality and ensuring compatibility with recent changes.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-15 14:26:54 +03:00
Shakar Bakr
1c0d19697f
Add detailed TODO references section to README.md, including examples for labels, comments on existing issues, custom references, and assignees to enhance documentation clarity and usability.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-15 14:22:08 +03:00
Shakar Bakr
084ec4c2ce
Remove outdated sections from README.md regarding action behavior on first and subsequent runs, streamlining documentation for clarity and relevance.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-15 13:59:49 +03:00
Shakar Bakr
61dcc147f4
Update diff_url logic in GitHubClient.py to simplify commit comparison handling. Adjusted the URL for single commit cases and removed unnecessary comparisons against an empty tree.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-15 13:57:00 +03:00
Shakar Bakr
5cdfff250b
Remove optional parameters from example-cross-repo.yml workflow, streamlining configuration for issue handling.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-15 13:55:45 +03:00
Shakar Bakr
569f543320
Remove deprecated handling of full repository path in GitHubClient.py, enforcing the use of separate OWNER and TARGET_REPO inputs for clarity and consistency.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-15 13:54:35 +03:00
Shakar Bakr
773a601445
Add OWNER input to action.yml for enhanced configuration options in issue creation workflow.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-15 13:45:01 +03:00
Shakar Bakr
e29de55f99
Fix indentation in GitHubClient.py for repository name assignment, improving code readability and consistency.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-15 13:30:43 +03:00
Shakar Bakr
783f67f10b
Refactor action.yml and GitHubClient.py to enhance cross-repository issue creation by separating OWNER and TARGET_REPO inputs, improving clarity in usage and documentation. Update README.md to reflect new configuration requirements and provide clearer examples for users. Adjust example workflow to align with new input structure.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-15 13:28:46 +03:00
Shakar Bakr
9d1f771660
Enhance repository name extraction in action.yml to support multiple repositories, improving output clarity and functionality during execution.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-15 11:29:36 +03:00
Shakar Bakr
71182239cc
Add echo statement for repository name in action.yml to enhance output clarity during execution.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-15 11:26:38 +03:00
Shakar Bakr
d56ea6fb3a
Refactor token assignment in action.yml to simplify logic for token retrieval, enhancing clarity and functionality.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-15 11:13:22 +03:00
Shakar Bakr
9edb3d4a80
Add repository name extraction to action.yml for improved token generation
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-10 11:59:43 +03:00
Shakar Bakr
a3afb99979
Refactor action.yml to improve input defaults and repository handling for the TODO to Issue action, ensuring better compatibility and clarity in workflows.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-10 11:57:10 +03:00
Shakar Bakr
1c61a6cde7
Update action.yml to correct the Docker image path for the TODO to Issue action, ensuring proper integration in workflows.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-10 10:43:53 +03:00
Shakar Bakr
275fccfaf7
Update action.yml to specify the Docker image format for the TODO to Issue action, ensuring compatibility with Docker-based workflows.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-10 10:40:36 +03:00
Shakar Bakr
be8dd62d1c
Fix action.yml to correct the repository path for the TODO to Issue action, ensuring proper usage of the action in workflows.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-10 10:39:17 +03:00
Shakar Bakr
5357440d14
Update action.yml to use a specific Docker image for the TODO to Issue action, enhancing reliability and version control.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-10 10:38:04 +03:00
Shakar Bakr
585010baee
Update action.yml to use local Docker image for the TODO to Issue action, simplifying the setup process.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-10 10:34:35 +03:00
Shakar Bakr
afdf684437
Update action.yml to use actions/create-github-app-token@v2 for improved token generation functionality.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-10 10:32:14 +03:00
Shakar Bakr
f722349382
Update GitHubClient.py to use target_repo for issue comments, assignees, and pull request URLs, ensuring consistency in cross-repository interactions.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-10 10:22:28 +03:00
Shakar Bakr
e1d1fa293d
Remove unnecessary shell specification from action.yml to streamline execution. This change enhances the clarity of the action's configuration.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-06-10 10:22:22 +03:00
Alastair Mooney
20f7a07bc0
Update README.md 2025-06-09 13:47:30 +01:00
Alastair Mooney
6b78d5bd9a
Merge pull request #271 from emmanuel-ferdman/master
fix: resolve regex library warnings
2025-06-09 13:40:20 +01:00
Emmanuel Ferdman
7c2b2763b1
Resolve regex library warnings
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-06-06 10:19:19 -07:00
alstr
6099be60cb Revert "Merge pull request #270 from ditkrg/master"
This reverts commit 317efb4ff2, reversing
changes made to 3bd536e14a.
2025-06-06 18:08:28 +01:00
alstr
fee572f0ef Revert "Revert action.yml"
This reverts commit 74d02718c4.
2025-06-06 18:07:10 +01:00
Alastair Mooney
74d02718c4
Revert action.yml 2025-06-06 18:00:13 +01:00
Alastair Mooney
317efb4ff2
Merge pull request #270 from ditkrg/master
Support cross-repository issue creation
2025-06-06 17:54:49 +01:00
Shakar Bakr
a2d77658d6
Refactor action.yml to use composite runs and enhance README for private repository support
- 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>
2025-06-05 11:18:59 +03:00
Shakar Bakr
563eaea98c
Update README.md for improved clarity and consistency in language properties and support section wording.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-05-27 13:00:31 +03:00
Shakar Bakr
2a3018bad5
Update default value in action.yml to use single quotes for the Git SHA input, ensuring consistency in YAML syntax.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-05-27 12:59:21 +03:00
Shakar Bakr
365551c214
Update default value in action.yml to use single quotes for consistency in YAML syntax.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-05-27 12:59:04 +03:00
Shakar Bakr
3a8525d1d7
Refactor action.yml to remove quotes from default values for inputs, ensuring proper YAML syntax. This change enhances clarity and consistency in the action's configuration.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-05-27 12:58:34 +03:00
Shakar Bakr
a3adffe07c
Switch action execution from composite to Docker, updating to version v5.1.12. This change simplifies the setup by using a pre-built Docker image for the TODO to Issue action.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2025-05-27 12:56:08 +03:00
Shakar Bakr
1b4753ffdd
Refactor action to use composite run steps and support cross-repository issue creation
- 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>
2025-05-15 15:49:54 +03:00
alstr
3bd536e14a Update Docker image version 2025-04-11 09:08:06 +01:00
Alastair Mooney
24169f78db
Merge pull request #267 from rgalonso/fix/process-diff-test
fix: remove subdirectory paths from test_new.diff
2025-04-11 09:02:30 +01:00
Robert Alonso
46cc6ac8e9 fix: remove subdirectory paths from test_new.diff
When test_proces_diff processes this file, it
fails to create the subdirectories, leading to
test failure. Since the subdirectories aren't
really needed, removing them allows the test
to complete successfully.

Updated number of expected passing tests to
account for the additional tests which can run
to completion now.
2025-04-10 15:28:02 +00:00
alstr
d7086a5471 Update CI workflow 2025-04-10 15:52:28 +01:00
alstr
3e1aeb955e Update CI workflow 2025-04-10 15:42:18 +01:00
alstr
388fc5a99e Update CI workflow 2025-04-10 15:35:36 +01:00
alstr
97af4971f9 Update CI workflow 2025-04-10 15:27:32 +01:00
alstr
cf5f5d2b95 Encode URLs
Fixes #263
2025-04-10 15:11:54 +01:00
alstr
eded387171 Amend file path to fix test 2025-04-10 15:01:48 +01:00
alstr
1a726726ab Add Dockerfile support
Original PR by @phyzical
See #266
2025-04-10 14:53:23 +01:00