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

[BUG]: GithubRelease@1 does not accept service connections of type "InstallationToken" #18413

Open
1 of 4 tasks
ghost opened this issue May 31, 2023 · 7 comments
Open
1 of 4 tasks

Comments

@ghost
Copy link

ghost commented May 31, 2023

Task name

GithubRelease

Task version

1.*

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Windows 10

Task log

N/A

Relevant log output

Step  input gitHubConnection expects a service connection of type github with authentication scheme OAuth,OAuth2,PersonalAccessToken,Token but the provided service connection **** is of type GitHub using authentication scheme InstallationToken.

Aditional info

The pipeline won't save because the task requires a github connection of a type that is not installation token. Oddly enough when using a OAuth or PAT based connection, the pipeline overview "complains" and suggests to use the github app instead (installation token).

I would love to use the github app instead and I can use it for the GitHubComment@0 task but for some reason not for the GithubRelease task.

Error message when saving:
> Step  input gitHubConnection expects a service connection of type github with authentication scheme OAuth,OAuth2,PersonalAccessToken,Token but the provided service connection **** is of type GitHub using authentication scheme InstallationToken.

Banner suggesting to use InstallationTokens instead:
> This pipeline is using an OAuth-based connection. Switch to the Azure Pipelines GitHub App for improved reliability and performance.

[Use app connection]

Seems like quite the contradiction to me.
@ghost
Copy link
Author

ghost commented May 31, 2023

Note: this was brought up in the past here #9394 but the issue was closed without a proper solution to the issue and it has been 4 years since without an adequate solution.

Copy link

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

@github-actions github-actions bot added the stale label Nov 27, 2023
@ghost
Copy link
Author

ghost commented Nov 28, 2023

Bump

@github-actions github-actions bot removed the stale label Nov 28, 2023
Copy link

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

@github-actions github-actions bot added the stale label Jun 19, 2024
@ghost
Copy link
Author

ghost commented Jun 19, 2024

bump

@github-actions github-actions bot removed the stale label Jun 19, 2024
@xmdanni
Copy link

xmdanni commented Jun 28, 2024

I have met the same issue.

@LeftTwixWand
Copy link
Contributor

Hey @xmdanni @julianh-nable you can expect installation token support to be released by the end of this week or start of the next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants