Skip to content

Commit 5942fe3

Browse files
authored
Merge pull request #1157 from dave-tucker/codegen-improvements
ci: Improve Codegen Workflow
2 parents 9ddee35 + 34be19a commit 5942fe3

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/gen.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,22 @@ jobs:
3939
run: |
4040
git diff --quiet || echo "COMMIT_CHANGES=1" >> $GITHUB_ENV
4141
42+
- name: Bless public API changes
43+
if: env.COMMIT_CHANGES == 1
44+
run: |
45+
cargo xtask public-api --bless
46+
4247
- name: Commit Changes
4348
id: commit
4449
if: env.COMMIT_CHANGES == 1
4550
uses: devops-infra/action-commit-push@master
4651
with:
4752
github_token: "${{ secrets.CRABBY_GITHUB_TOKEN }}"
48-
commit_prefix: "[codegen] Update libbpf to ${{ env.LIBBPF_SHA }}"
49-
commit_message: "Update libbpf to ${{ env.LIBBPF_SHA }}"
53+
commit_message: |
54+
chore(aya-obj, aya-ebpf-bindings): Regenerate bindings
55+
56+
libbpf commit: ${{ env.LIBBPF_SHA }}
57+
5058
target_branch: codegen
5159
force: true
5260

0 commit comments

Comments
 (0)