Skip to content

[bug/infra] Lack of comments in release related PRs #6554

@Kielek

Description

@Kielek

Release automation has difficulties while posting comments in PRs.
Current application does not have enough privileges to override locked conversation (otelbot-dotnet looks like not a collabolator).

Other parts are working fine.
Example: https://github.com/open-telemetry/opentelemetry-dotnet/actions/runs/18158254931/job/51682971557

  Import-Module .\build\scripts\prepare-release.psm1
  
  CreateReleaseTagAndPostNoticeOnPullRequest `
    -gitRepository ${env:GITHUB_REPOSITORY} `
    -pullRequestNumber ${env:ISSUE_NUMBER} `
    -expectedPrAuthorUserName ${env:EXPECTED_PR_AUTHOR_USER_NAME} `
    -gitUserName ${env:BOT_USER_NAME} `
    -gitUserEmail ${env:BOT_USER_EMAIL}
  shell: /usr/bin/pwsh -command ". '{0}'"
  env:
    GH_TOKEN: ***
    BOT_USER_EMAIL: 107717825+opentelemetrybot@users.noreply.github.com
    BOT_USER_NAME: opentelemetrybot
    EXPECTED_PR_AUTHOR_USER_NAME: app/otelbot-dotnet
    ISSUE_NUMBER: 6553
To https://github.com/open-telemetry/opentelemetry-dotnet
 * [new tag]           coreunstable-1.13.0-beta.1 -> coreunstable-1.13.0-beta.1
GraphQL: Unable to create comment because issue is locked (addComment)
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions