Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix head field used by octokit.rest.pulls.list() method #464

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

rgdoliveira
Copy link
Member

In octokit/rest 18 doc (https://octokit.github.io/rest.js/v18) there is explanation about octokit.rest.pulls.list and for the head field it mentions:

Filter pulls by head user or head organization and branch name in the format of user:ref-name or organization:ref-name. For example: github:new-script-format or octocat:test-branch.

We are currently using user/fork-name:ref-name and from the documentation it seems it should be user:ref-name

In octokit/rest 18 doc (https://octokit.github.io/rest.js/v18) there is explanation about octokit.rest.pulls.list and
for the `head` field it mentions:

"Filter pulls by head user or head organization and branch name in the format of user:ref-name or organization:ref-name.
For example: github:new-script-format or octocat:test-branch."

We are currently using user/fork-name:ref-name and from the documentation it seems it should be user:ref-name
@rgdoliveira
Copy link
Member Author

e2e-regression-cli tests are failing, investigating why...

@rgdoliveira
Copy link
Member Author

so those e2e-regression-cli tests are failing already and it is not related to my PR, see #465. I will merge this one for now and can look later on those test failures.

@rgdoliveira rgdoliveira merged commit 99a863f into kiegroup:main Mar 6, 2024
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants