Skip to content

Commit a0f3391

Browse files
authored
Merge pull request #40 from stacklok/on-behalf
Change PR body
2 parents e08dfa7 + fc92290 commit a0f3391

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/action/action.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -257,14 +257,15 @@ func (fa *FrizbeeAction) createPR(ctx context.Context) error {
257257
defaultBranch := repository.GetDefaultBranch()
258258

259259
fa.bodyBuilder = &strings.Builder{}
260+
fa.bodyBuilder.WriteString("## Frizbee: Pin images and actions to commit hash\n\n")
260261
fa.bodyBuilder.WriteString("The following PR pins images and actions to their commit hash.\n\n")
261262
fa.bodyBuilder.WriteString("Pinning images and actions to their commit hash ensures that the same " +
262263
"version of the image or action is used every time the workflow runs. This is important for " +
263264
"reproducibility and security.\n\n")
264265
//nolint:lll
265266
fa.bodyBuilder.WriteString("Pinning is a [security practice recommended by GitHub](https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions).\n\n")
266267
//nolint:lll
267-
fa.bodyBuilder.WriteString("> 🌟 If you like this action, why not try out [Minder](https://github.com/stacklok/minder), the secure supply chain platform. It has vastly more protections and is also free (as in :beer:) to opensource projects.")
268+
fa.bodyBuilder.WriteString("🥏 Posted on behalf of [frizbee-action](https://github.com/stacklok/frizbee-action) 🥏, by [Stacklok](https://stacklok.com).\n\n")
268269

269270
// Create a new PR
270271
pr, _, err := fa.Client.PullRequests.Create(ctx, fa.RepoOwner, fa.RepoName, &github.NewPullRequest{

0 commit comments

Comments
 (0)