Skip to content

Commit

Permalink
fix: create the PR according to our own standards (#34)
Browse files Browse the repository at this point in the history
# Description

When we update the workflows with `update_workflows.sh` a PR is
automatically created. But the description of it didn't follow our own
template. This PR adds a multiline description with `Description` and
`Verification` section.

# Verification

None.
  • Loading branch information
kayman-mk authored May 23, 2024
1 parent 40a6515 commit e84d7e6
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion update-workflows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,18 @@ function create_commit_and_pr() {
git commit -m "update workflows to latest version"
git push --set-upstream origin update-workflows

gh pr create --title "ci: update workflows to latest version" --body "" --base main
body=$(cat <<-EOF
# Description
This PR updates all workflows to the latest version.
# Verification
Done by the workflows in this feature branch, except for the release workflow.
EOF
)

gh pr create --title "ci: update workflows to latest version" --body "$body" --base main
gh pr view --web
}

Expand Down

0 comments on commit e84d7e6

Please sign in to comment.