Skip to content

report commit author and messageΒ #125

@marco-m-pix4d

Description

@marco-m-pix4d

Currently we send to the chat sink:

2023-07-24 09:04:37 UTC
pipeline foo-bar
job oo-bar-local-tests/1301
state πŸ”΄ failure
commit 123456 (repo: example/repo)

It would be nice to send also the commit author and first line of the commit message (no matter the state):

2023-07-24 09:04:37 UTC
pipeline foo-bar
job oo-bar-local-tests/1301
state πŸ”΄ failure
commit 123456 (repo: example/repo)

Same for the logging.

What we have:

[INFO]  cogito: This is the Cogito GitHub status resource. Tag: 0.10.1, commit: 05c92db, build date: 2023-05-31
[INFO]  cogito.put.ghCommitStatus: GitHub HTTP request: attempt=1 max=3
[INFO]  cogito.put.ghCommitStatus: commit status posted successfully: state=pending git-ref=123456

What we could have

[INFO]  cogito: This is the Cogito GitHub status resource. Tag: 0.10.1, commit: 05c92db, build date: 2023-05-31
[INFO]  cogito.put.ghCommitStatus: Processing commit git-ref=123456 author=johnny.stecchino comment="foo: add bar"
[INFO]  cogito.put.ghCommitStatus: GitHub HTTP request: attempt=1 max=3
[INFO]  cogito.put.ghCommitStatus: commit status posted successfully: state=pending git-ref=123456

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