Skip to content

Conversation

migmartri
Copy link
Member

Adds additional annotations to the git.head subject in the attestation. These annotations include the commit message, author, timestamp and remotes.

      "name": "git.head",
      "digest": {
        "sha1": "78ac366c9e8a300d51808d581422ca61f7b5b721"
      },
      "annotations": {
        "author.email": "john@cyberdyne.com",
        "author.name": "John Connor",
        "date": "2023-10-26T17:09:20Z",
        "message": "chatGPT wrapper",
        "remotes": [
           {
             "name": "upstream",
             "url": "git@cyberdyne.internal:skynet.git"
           }
         ]
      }
    }

Closes #383

Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
@migmartri migmartri requested a review from danlishka October 27, 2023 15:34
@migmartri migmartri changed the title feat: add git repository annotations feat(attestation): add git repository annotations Oct 27, 2023
Copy link
Member

@danlishka danlishka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

love it!

@migmartri migmartri merged commit 62b93e5 into chainloop-dev:main Oct 29, 2023
@migmartri migmartri deleted the add-annotations-git branch October 29, 2023 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add annotations to git.head subject
2 participants