Skip to content

Commit 71c7072

Browse files
authored
Generate signed commits in cron CI job
1 parent 19c4779 commit 71c7072

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/generate-openapi.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,13 @@ jobs:
2626
cache-dependency-path: src/oasis-nexus/yarn.lock
2727
- run: yarn install --frozen-lockfile
2828
- run: yarn generate
29+
- name: Create Change Log fragment
30+
env:
31+
FILE_NAME: ../../.changelog/${{ github.event.pull_request.number }}.internal.md
32+
run: echo "Update API bindings" > "$FILE_NAME"
2933
- name: Create Pull Request with updated API bindings
3034
# https://github.com/peter-evans/create-pull-request
31-
uses: peter-evans/create-pull-request@v6
35+
uses: peter-evans/create-pull-request@v7
3236
with:
3337
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
3438
branch: generate-openapi
@@ -40,3 +44,4 @@ jobs:
4044
If CI actions and checks don't run in this PR: close it and reopen.
4145
https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
4246
labels: bot
47+
sign-commits: true

0 commit comments

Comments
 (0)