From c6319cb69a766815201d824cfb2b209cb9732daf Mon Sep 17 00:00:00 2001 From: Elai Shalev Date: Wed, 25 Jun 2025 14:47:58 +0300 Subject: [PATCH] fixing auth header name --- .../github-pr/manifests/01-configmap_gh-pr-props.yaml | 2 +- .../github-pr/src/main/resources/application.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/workflows/experimentals/github-pr/manifests/01-configmap_gh-pr-props.yaml b/workflows/experimentals/github-pr/manifests/01-configmap_gh-pr-props.yaml index aa4f0fca..b57ea160 100755 --- a/workflows/experimentals/github-pr/manifests/01-configmap_gh-pr-props.yaml +++ b/workflows/experimentals/github-pr/manifests/01-configmap_gh-pr-props.yaml @@ -15,7 +15,7 @@ data: #quarkus.openapi-generator.github_yaml.auth.BearerToken.bearer-token=${ghToken} quarkus.kogito.devservices.enabled=false quarkus.openapi-generator.github_yaml.auth.BearerToken.token-propagation=true - quarkus.openapi-generator.github_yaml.auth.BearerToken.header-name=X-GitHub-Authorization + quarkus.openapi-generator.github_yaml.auth.BearerToken.header-name=X-Authorization-Github kind: ConfigMap metadata: creationTimestamp: null diff --git a/workflows/experimentals/github-pr/src/main/resources/application.properties b/workflows/experimentals/github-pr/src/main/resources/application.properties index d8220834..5b86e7e3 100644 --- a/workflows/experimentals/github-pr/src/main/resources/application.properties +++ b/workflows/experimentals/github-pr/src/main/resources/application.properties @@ -12,4 +12,4 @@ quarkus.rest-client.github_yaml.url=https://api.github.com #quarkus.openapi-generator.github_yaml.auth.BearerToken.bearer-token=${ghToken} quarkus.kogito.devservices.enabled=false quarkus.openapi-generator.github_yaml.auth.BearerToken.token-propagation=true -quarkus.openapi-generator.github_yaml.auth.BearerToken.header-name=X-GitHub-Authorization \ No newline at end of file +quarkus.openapi-generator.github_yaml.auth.BearerToken.header-name=X-Authorization-Github \ No newline at end of file