Skip to content

Commit 0ffb701

Browse files
Merge main infra changes into v1.0-dev (#297)
* Update schema-publish.yaml (#294) Temporarily remove myself from the reviewers list * spec build workflow: dynamically determine latest spec version (#296) * Update spec build workflow - Use release tag to determine latest spec version * Update respec.yaml * Update respec.yaml --------- Co-authored-by: Ralf Handl <[email protected]>
1 parent 5180798 commit 0ffb701

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

.github/workflows/respec.yaml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ on:
1414
- 'versions/**'
1515
branches:
1616
- main
17-
1817
workflow_dispatch: {}
1918

2019
jobs:
@@ -23,14 +22,18 @@ jobs:
2322
runs-on: ubuntu-latest
2423

2524
steps:
26-
- uses: actions/checkout@v2 # checkout main branch
25+
- uses: actions/checkout@v4 # checkout main branch
2726
with:
2827
fetch-depth: 0
2928

29+
- uses: actions/setup-node@v4 # setup Node.js
30+
with:
31+
node-version: '20.x'
32+
3033
- name: Install dependencies
31-
run: npm i
34+
run: npm ci
3235

33-
- uses: actions/checkout@v2 # checkout gh-pages branch
36+
- uses: actions/checkout@v4 # checkout gh-pages branch
3437
with:
3538
token: ${{ secrets.OAS_REPO_TOKEN }}
3639
repository: OAI/OpenAPI-Specification
@@ -43,20 +46,21 @@ jobs:
4346
# need to create a pull request against a reomte repository here
4447
# to update the gh-pages branch on the OAI repo
4548
- name: Create Pull Request
46-
uses: peter-evans/create-pull-request@v5
49+
uses: peter-evans/create-pull-request@v6
4750
with:
4851
token: ${{ secrets.OAS_REPO_TOKEN }}
4952
branch: update-arazzo-respec-version
5053
base: gh-pages
5154
delete-branch: true
5255
path: deploy
5356
labels: Housekeeping
54-
title: Update ReSpec versions for Arazzo
55-
commit-message: Update ReSpec versions
57+
reviewers: darrelmiller,webron,earth2marsh,webron,lornajane,mikekistler,miqui,handrews,karenetheridge # ralfhandl
58+
title: Arazzo - Update ReSpec-rendered specification versions
59+
commit-message: Update ReSpec-rendered specification versions
5660
signoff: true
5761
body: |
5862
This pull request is automatically triggered by GitHub action `respec`.
5963
60-
The versions/v*.md files of the Arazzo Specification have changed, so the HTML files are automatically being regenerated.
64+
The `versions/*.md` files of the Arazzo Specification have changed, so the HTML files are automatically being regenerated.
6165
6266

.github/workflows/schema-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
delete-branch: true
5151
path: deploy
5252
labels: Housekeeping,Schema
53-
reviewers: darrelmiller,webron,earth2marsh,lornajane,mikekistler,miqui,ralfhandl,handrews
53+
reviewers: darrelmiller,webron,earth2marsh,lornajane,mikekistler,miqui,handrews
5454
title: Publish Arazzo Schema Iterations
5555
commit-message: New Arazzo schema iterations
5656
signoff: true

scripts/md2html/build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ cd scripts/md2html
1414
# temporarily copy installed version of respec into build directory
1515
cp -p ../../node_modules/respec/builds/respec-w3c.* ../../deploy/js/
1616

17-
# latest=`git describe --abbrev=0 --tags` -- introduce after release tags created
18-
latest=1.0.0
17+
latest=`git describe --abbrev=0 --tags`
1918
latestCopied=none
2019
lastMinor="-"
2120
for filename in $(ls -1 ../../versions/[123456789].*.md | sort -r) ; do

0 commit comments

Comments
 (0)