Skip to content

Commit d6d0fe7

Browse files
committed
Update schema-publish.yaml
1 parent 70ae381 commit d6d0fe7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/schema-publish.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ name: schema-publish
77
# This workflow copies the 3.x schemas to the gh-pages branch
88
#
99

10-
# run this on push to main
10+
# run this on push to vX.Y-dev branches or manually
1111
on:
1212
push:
1313
branches:
14-
- main
14+
- 'v[0-9].[0-9]-dev'
1515
workflow_dispatch: {}
1616

1717
jobs:
@@ -26,7 +26,7 @@ jobs:
2626

2727
- uses: actions/setup-node@v4 # setup Node.js
2828
with:
29-
node-version: '20.x'
29+
node-version: '22.x'
3030

3131
- name: Install dependencies
3232
run: npm ci
@@ -43,15 +43,15 @@ jobs:
4343
uses: peter-evans/create-pull-request@v6
4444
with:
4545
token: ${{ secrets.GITHUB_TOKEN }}
46-
branch: publish-schema-iteration
46+
branch: vX.Y-publish-schema-iteration
4747
base: gh-pages
4848
delete-branch: true
4949
path: deploy
5050
labels: Housekeeping,Schema
5151
reviewers: darrelmiller,webron,earth2marsh,webron,lornajane,mikekistler,miqui,ralfhandl,handrews,karenetheridge
52-
title: Publish OpenAPI Schema Iterations
52+
title: 'vX.Y: publish OpenAPI schema iterations'
5353
commit-message: New OpenAPI schema iterations
5454
signoff: true
5555
body: |
56-
This pull request is automatically triggered by GitHub action `schema-publish`.
57-
The `schemas/**/*.yaml` files have changed and JSON files are automatically generated.
56+
This pull request is automatically generated by GitHub action `schema-publish`.
57+
The `src/schemas/validation/*.yaml` files have changed and JSON files are automatically generated.

0 commit comments

Comments
 (0)