From 99a863fe305d3c294b022a9195e2da1154bf3743 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Wed, 6 Mar 2024 14:16:36 +0100 Subject: [PATCH] Fix head field used by octokit.rest.pulls.list() method (#464) 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 --- package-lock.json | 4 ++-- package.json | 2 +- src/service/checkout/checkout-service.ts | 2 +- .../service/checkout/checkout-service.test.ts | 24 +++++++++---------- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2a9c8bb2..3ea97486 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@kie/build-chain-action", - "version": "3.5.5", + "version": "3.5.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@kie/build-chain-action", - "version": "3.5.5", + "version": "3.5.6", "license": "ISC", "dependencies": { "@actions/artifact": "^1.1.0", diff --git a/package.json b/package.json index c26e1bf3..1cac1234 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kie/build-chain-action", - "version": "3.5.5", + "version": "3.5.6", "description": "Library to execute commands based on github projects dependencies.", "main": "dist/index.js", "author": "", diff --git a/src/service/checkout/checkout-service.ts b/src/service/checkout/checkout-service.ts index 21e1477c..5da6c20c 100644 --- a/src/service/checkout/checkout-service.ts +++ b/src/service/checkout/checkout-service.ts @@ -166,7 +166,7 @@ export class CheckoutService implements Serializable