Skip to content

Commit 8d58b3d

Browse files
authored
Update schema-publish.yaml
1 parent c1cd7cb commit 8d58b3d

File tree

1 file changed

+3
-36
lines changed

1 file changed

+3
-36
lines changed

.github/workflows/schema-publish.yaml

Lines changed: 3 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: schema-publish
44
# issue: https://github.com/OAI/OpenAPI-Specification/issues/3715
55

66
#
7-
# This workflow copies the 3.x schemas to the gh-pages branch
7+
# This stub workflow is needed to manually publish schema iterations from vX.Y-dev branches
88
#
99

1010
# run this on push to main
@@ -20,38 +20,5 @@ jobs:
2020
runs-on: ubuntu-latest
2121

2222
steps:
23-
- uses: actions/checkout@v4 # checkout main branch
24-
with:
25-
fetch-depth: 0
26-
27-
- uses: actions/setup-node@v4 # setup Node.js
28-
with:
29-
node-version: '20.x'
30-
31-
- name: Install dependencies
32-
run: npm ci
33-
34-
- uses: actions/checkout@v4 # checkout gh-pages branch
35-
with:
36-
ref: gh-pages
37-
path: deploy
38-
39-
- name: run main script
40-
run: scripts/schema-publish.sh
41-
42-
- name: Create Pull Request
43-
uses: peter-evans/create-pull-request@v6
44-
with:
45-
token: ${{ secrets.GITHUB_TOKEN }}
46-
branch: publish-schema-iteration
47-
base: gh-pages
48-
delete-branch: true
49-
path: deploy
50-
labels: Housekeeping,Schema
51-
reviewers: darrelmiller,webron,earth2marsh,webron,lornajane,mikekistler,miqui,ralfhandl,handrews,karenetheridge
52-
title: Publish OpenAPI Schema Iterations
53-
commit-message: New OpenAPI schema iterations
54-
signoff: true
55-
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.
23+
- name: dummy
24+
run: echo Do nothing

0 commit comments

Comments
 (0)