Skip to content

Task to write build result to GitHub comment #10665

@datapythonista

Description

@datapythonista

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature?
Type: Feature

Enter Task Name: here

list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

Environment

  • Server - Azure Pipelines or TFS on-premises?

    • If using TFS on-premises, provide the version:

    • If using Azure Pipelines, provide the account name, team project name, build definition name/build number: pandas-dev/pandas

  • Agent - Hosted or Private: Hosted

Issue Description

Once a PR is open, and after the CI runs, it would be nice to be able to post the result of the builds as a GitHub comment.

See for example here, how the GitHub application pep8speaks posts a comment with the result of their validations: pandas-dev/pandas#26894

Couldn't find a task for that, and it's not possible to write a custom script, since accessing the GitHub API directly would require an authentication token (PR builds can't access secret variables, so we can't store the token).

Is it possible to do this? Can it be implemented as a task?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions