Closed HasanKhatib closed 4 months ago
Can you clarify how this is different? The current implementation already has the repo url, but it's represented in the issue URL.
ISSUE_URL = "%s/issues" % REPO_URL
Can you please show me a before and after to clarify?
Before: The incorrect URL was %s/%s/assignees
, which incorrectly concatenates the issue URL and the issue number directly without the /issues/
prefix, leading to an invalid endpoint.
After: The corrected URL is %s/issues/%s/assignees
, ensuring the correct endpoint /issues/{issue_number}/assignees
is used for adding assignees to the pull request.
Argh! I see now.
I will close the PR and create an issue instead, as the issue is still there. It reads the assignees and show it in this log message PULL_REQUEST_ASSIGNEES is set, HasanKhatib
, but then returns assignees': [],
The fix is insufficient, an issue is created for the bug #105
The issue: The action fails to assign assignees to the created PR**
Logs sample:
The fix:
/repos/:owner/:repo/issues/:issue_number/assignees
This has been fixed in the add_assignees function.