Skip to content

Commit 3bbeb36

Browse files
committed
ci: fix automatic update issues
The action we used before was not flexible enough to tweak all properties we need to have PRs with CLA signed.
1 parent 26d71bd commit 3bbeb36

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.github/workflows/update-crdb-versions.yaml

+13-9
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,17 @@ jobs:
3131
with:
3232
path: "~/.cache/bazel"
3333
key: bazel
34-
- name: Update CRDB versions
35-
uses: technote-space/create-pr-action@v2
34+
- name: Update CRDB version
35+
run: make release/gen-templates
36+
- name: Create PR
37+
uses: peter-evans/create-pull-request@v5
3638
with:
37-
EXECUTE_COMMANDS: |
38-
make release/gen-templates
39-
COMMIT_MESSAGE: 'Update CRDB versions'
40-
COMMIT_NAME: 'GitHub Actions'
41-
COMMIT_EMAIL: '[email protected]'
42-
PR_BRANCH_NAME: 'crdb-update-${PR_ID}'
43-
PR_TITLE: 'Update CRDB versions'
39+
base: "master"
40+
branch: 'crdb-version-update'
41+
title: "Update CRDB versions"
42+
author: "CRL Release bot <[email protected]>"
43+
body: |
44+
Update supported CRDB versions.
45+
commit-message: |
46+
Update supported CRDB versions.
47+
delete-branch: true

0 commit comments

Comments
 (0)