mirror of
https://github.com/apricote/releaser-pleaser.git
synced 2026-01-13 21:21:03 +00:00
ci: add username for git basic auth
This commit is contained in:
parent
edf09585d8
commit
6ba7020983
2 changed files with 2 additions and 1 deletions
|
|
@ -22,3 +22,4 @@ runs:
|
||||||
- --branch=${{ inputs.branch }}
|
- --branch=${{ inputs.branch }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ inputs.token }}
|
GITHUB_TOKEN: ${{ inputs.token }}
|
||||||
|
GITHUB_USER: "oauth2"
|
||||||
|
|
|
||||||
|
|
@ -330,7 +330,7 @@ func reconcileReleasePR(ctx context.Context, forge rp.Forge, changesets []rp.Cha
|
||||||
Force: true,
|
Force: true,
|
||||||
Auth: forge.GitAuth(),
|
Auth: forge.GitAuth(),
|
||||||
}); err != nil {
|
}); err != nil {
|
||||||
return err
|
return fmt.Errorf("failed to push branch: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.InfoContext(ctx, "pushed branch", "commit.hash", releaseCommitHash.String(), "branch.name", rpBranch, "refspec", pushRefSpec.String())
|
logger.InfoContext(ctx, "pushed branch", "commit.hash", releaseCommitHash.String(), "branch.name", rpBranch, "refspec", pushRefSpec.String())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue