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

Configure user.name in git_test.go run method. #4192

Merged
merged 1 commit into from
Aug 25, 2021

Conversation

mattmoor
Copy link
Member

In my work to add downstream testing to knative.dev/pkg this test is failing with:

        git_test.go:216: ["error" git]: Error running git [commit --allow-empty -m Hello Moto]: exit status 128
            Author identity unknown

            *** Please tell me who you are.

            Run

              git config --global user.email "[email protected]"
              git config --global user.name "Your Name"

            to set your account's default identity.
            Omit --global to set the identity only in this repository.

            fatal: empty ident name (for <[email protected]>) not allowed

Ref: https://github.com/knative/pkg/pull/2233/checks?check_run_id=3423565615#step:6:528

Tekton already configures user.email, but it seems to reject this on Actions without user.name as well.

/kind bug

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Docs included if any changes are user facing
  • Tests included if any functionality added or changed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including
    functionality, content, code)
  • Release notes block below has been filled in or deleted (only if no user facing changes)

Release Notes

NONE

In my work to add downstream testing to `knative.dev/pkg` this test is failing with:

```
        git_test.go:216: ["error" git]: Error running git [commit --allow-empty -m Hello Moto]: exit status 128
            Author identity unknown

            *** Please tell me who you are.

            Run

              git config --global user.email "[email protected]"
              git config --global user.name "Your Name"

            to set your account's default identity.
            Omit --global to set the identity only in this repository.

            fatal: empty ident name (for <[email protected]>) not allowed
```

Ref: https://github.com/knative/pkg/pull/2233/checks?check_run_id=3423565615#step:6:528

Tekton already configures `user.email`, but it seems to reject this on Actions without `user.name` as well.
@tekton-robot tekton-robot added kind/bug Categorizes issue or PR as related to a bug. release-note-none Denotes a PR that doesnt merit a release note. labels Aug 25, 2021
@tekton-robot tekton-robot requested review from jerop and a user August 25, 2021 15:40
@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Aug 25, 2021
@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 25, 2021
@dlorenc
Copy link
Contributor

dlorenc commented Aug 25, 2021

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 25, 2021
Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

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

/meow

@tekton-robot
Copy link
Collaborator

@vdemeester: cat image

In response to this:

/meow

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sbwsg, vdemeester

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mattmoor
Copy link
Member Author

/retest

@tekton-robot tekton-robot merged commit 2df5bcc into tektoncd:main Aug 25, 2021
@mattmoor mattmoor deleted the configure-name branch August 25, 2021 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesnt merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants