From d7a085115de7c1b4ce9d336a68ee87c9af80c44a Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Wed, 16 Oct 2024 16:35:10 +0200 Subject: [PATCH 01/12] Skeleton --- .github/workflows/schema-publish.yaml | 62 +++++++++++++++++++++++++++ scripts/schema-publish.sh | 17 ++++++++ 2 files changed, 79 insertions(+) create mode 100644 .github/workflows/schema-publish.yaml create mode 100755 scripts/schema-publish.sh diff --git a/.github/workflows/schema-publish.yaml b/.github/workflows/schema-publish.yaml new file mode 100644 index 0000000000..a05bb74f0b --- /dev/null +++ b/.github/workflows/schema-publish.yaml @@ -0,0 +1,62 @@ +name: schema-publish + +# author: @ralfhandl +# issue: https://github.com/OAI/OpenAPI-Specification/issues/3715 + +# +# This workflow updates the respec 'pretty' rendered versions of the spec +# on the gh-pages branch when the corresponding markdown files change. +# + +# run this on push to main +on: + push: + branches: + - main + workflow_dispatch: {} + +jobs: + publish: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 # checkout main branch + with: + fetch-depth: 0 + + - uses: actions/setup-node@v4 # setup Node.js + with: + node-version: '20.x' + + - name: Install dependencies + run: npm ci + + - uses: actions/checkout@v4 # checkout gh-pages branch + with: + ref: gh-pages + path: deploy + + - name: run main script + run: scripts/schema-publish.sh + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v6 + with: + token: ${{ secrets.GITHUB_TOKEN }} + branch: publish-schema-iteration + base: gh-pages + delete-branch: true + path: deploy + labels: Housekeeping,Schema + reviewers: OAI/tsc #TODO: check if this works, or if groups need a different parameter + # team-reviewers: OAI/tsc #TODO: check if this works, or if it needs a special access token + title: Publish OpenAPI Metaschema Iterations + commit-message: New OpenAPI metaschema iterations + signoff: true + body: | + This pull request is automatically triggered by GitHub action `schema-publish`. + + The `schemas/**/*.yaml` files have changed and JSON files are automatically generated. + + diff --git a/scripts/schema-publish.sh b/scripts/schema-publish.sh new file mode 100755 index 0000000000..396fe14133 --- /dev/null +++ b/scripts/schema-publish.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +# Author: @ralfhandl + +# run this script from the root of the repo. It is designed to be run by a GitHub workflow. + +for filename in schemas/v3*/schema.yaml ; do + version=$(basename $(dirname "$filename")) + mkdir -p deploy/oas/$version + + lastCommitDate=$(git log -1 --format="%ad" --date=format:"%Y%m%d" "$filename") + + echo $filename $lastCommitDate $version + #TODO: + # - generate JSON file "deploy/oas/$version/schema/$lastCommitDate" from schema.yaml + # - if schema-base.yaml exists, generate JSON file "deploy/oas/$version/schema-base/$lastCommitDate" from schema-base.yaml +done From 20cb8bb8102856fb173d89932ce5d848bf22adc8 Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Wed, 16 Oct 2024 16:53:45 +0200 Subject: [PATCH 02/12] More skeletons --- scripts/schema-convert.js | 29 +++++++++++++++++++++++++++++ scripts/schema-publish.sh | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 scripts/schema-convert.js diff --git a/scripts/schema-convert.js b/scripts/schema-convert.js new file mode 100644 index 0000000000..09ee42fd6e --- /dev/null +++ b/scripts/schema-convert.js @@ -0,0 +1,29 @@ +#!/usr/bin/env node + +'use strict'; + +const fs = require('fs'); +const yaml = require('yaml'); + +function convert(filename,date) { + console.log(filename); + const s = fs.readFileSync(filename,'utf8'); + let obj; + try { + obj = yaml.parse(s, {prettyErrors: true}); + //TODO: replace last segment in $id, id, and $ref with date + console.log(JSON.stringify(obj,null,2)); + } + catch (ex) { + console.warn(' ',ex.message); + process.exitCode = 1; + } +} + +if (process.argv.length<4) { + console.warn('Usage: convert-schema.js file.yaml YYYYMMDD'); +} +else { + convert(process.argv[2], process.argv[3]); +} + diff --git a/scripts/schema-publish.sh b/scripts/schema-publish.sh index 396fe14133..c85dab49fb 100755 --- a/scripts/schema-publish.sh +++ b/scripts/schema-publish.sh @@ -13,5 +13,7 @@ for filename in schemas/v3*/schema.yaml ; do echo $filename $lastCommitDate $version #TODO: # - generate JSON file "deploy/oas/$version/schema/$lastCommitDate" from schema.yaml + # node scripts/schema-convert.js $filename $lastCommitDate > deploy/oas/$version/schema/$lastCommitDate.json # - if schema-base.yaml exists, generate JSON file "deploy/oas/$version/schema-base/$lastCommitDate" from schema-base.yaml + # node scripts/schema-convert.js ... $lastCommitDate > deploy/oas/$version/schema-base/$lastCommitDate.json done From 30c4861d93b7ed3275a64368887a220a41461caa Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Wed, 16 Oct 2024 20:55:26 +0200 Subject: [PATCH 03/12] Walking skeletons --- scripts/schema-convert.js | 8 ++++++-- scripts/schema-publish.sh | 18 ++++++++++-------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/scripts/schema-convert.js b/scripts/schema-convert.js index 09ee42fd6e..bcf2afe9de 100644 --- a/scripts/schema-convert.js +++ b/scripts/schema-convert.js @@ -6,12 +6,16 @@ const fs = require('fs'); const yaml = require('yaml'); function convert(filename,date) { - console.log(filename); const s = fs.readFileSync(filename,'utf8'); let obj; try { obj = yaml.parse(s, {prettyErrors: true}); - //TODO: replace last segment in $id, id, and $ref with date + // replace last segment of id, $id, and $ref value with date + for (const p of ["id","$id","$ref"]) { + if (obj[p]) { + obj[p] = obj[p].replace(/\/[^\/]+$/,'/'+date); + } + } console.log(JSON.stringify(obj,null,2)); } catch (ex) { diff --git a/scripts/schema-publish.sh b/scripts/schema-publish.sh index c85dab49fb..3aee26fe49 100755 --- a/scripts/schema-publish.sh +++ b/scripts/schema-publish.sh @@ -6,14 +6,16 @@ for filename in schemas/v3*/schema.yaml ; do version=$(basename $(dirname "$filename")) - mkdir -p deploy/oas/$version - lastCommitDate=$(git log -1 --format="%ad" --date=format:"%Y%m%d" "$filename") - echo $filename $lastCommitDate $version - #TODO: - # - generate JSON file "deploy/oas/$version/schema/$lastCommitDate" from schema.yaml - # node scripts/schema-convert.js $filename $lastCommitDate > deploy/oas/$version/schema/$lastCommitDate.json - # - if schema-base.yaml exists, generate JSON file "deploy/oas/$version/schema-base/$lastCommitDate" from schema-base.yaml - # node scripts/schema-convert.js ... $lastCommitDate > deploy/oas/$version/schema-base/$lastCommitDate.json + echo "$filename $lastCommitDate" + mkdir -p deploy/oas/$version/schema + node scripts/schema-convert.js "$filename" $lastCommitDate > deploy/oas/$version/schema/$lastCommitDate.json + + filenameBase=$(dirname "$filename")/schema-base.yaml + if [ -f "$filenameBase" ]; then + echo "$filenameBase $lastCommitDate" + mkdir -p deploy/oas/$version/schema-base + node scripts/schema-convert.js "$filenameBase" $lastCommitDate > deploy/oas/$version/schema-base/$lastCommitDate.json + fi done From e41367f7f5c340e60636f9148e131368fc5408d0 Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Wed, 16 Oct 2024 21:06:39 +0200 Subject: [PATCH 04/12] Rename markdown wrapper --- .github/workflows/schema-publish.yaml | 1 + scripts/schema-publish.sh | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/schema-publish.yaml b/.github/workflows/schema-publish.yaml index a05bb74f0b..a862b61f28 100644 --- a/.github/workflows/schema-publish.yaml +++ b/.github/workflows/schema-publish.yaml @@ -13,6 +13,7 @@ on: push: branches: - main + - publish-schemas #TODO: remove workflow_dispatch: {} jobs: diff --git a/scripts/schema-publish.sh b/scripts/schema-publish.sh index 3aee26fe49..c80119d08c 100755 --- a/scripts/schema-publish.sh +++ b/scripts/schema-publish.sh @@ -10,12 +10,14 @@ for filename in schemas/v3*/schema.yaml ; do echo "$filename $lastCommitDate" mkdir -p deploy/oas/$version/schema - node scripts/schema-convert.js "$filename" $lastCommitDate > deploy/oas/$version/schema/$lastCommitDate.json + node scripts/schema-convert.js "$filename" $lastCommitDate > deploy/oas/$version/schema/$lastCommitDate + mv deploy/oas/$version/schema/*.md deploy/oas/$version/schema/$lastCommitDate.md filenameBase=$(dirname "$filename")/schema-base.yaml if [ -f "$filenameBase" ]; then echo "$filenameBase $lastCommitDate" mkdir -p deploy/oas/$version/schema-base - node scripts/schema-convert.js "$filenameBase" $lastCommitDate > deploy/oas/$version/schema-base/$lastCommitDate.json + node scripts/schema-convert.js "$filenameBase" $lastCommitDate > deploy/oas/$version/schema-base/$lastCommitDate + mv deploy/oas/$version/schema-base/*.md deploy/oas/$version/schema-base/$lastCommitDate.md fi done From cf32860bff8b30cc3f29923c280a283381b428f0 Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Wed, 16 Oct 2024 21:11:13 +0200 Subject: [PATCH 05/12] Update schema-publish.sh --- scripts/schema-publish.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/schema-publish.sh b/scripts/schema-publish.sh index c80119d08c..e970567cd2 100755 --- a/scripts/schema-publish.sh +++ b/scripts/schema-publish.sh @@ -11,13 +11,15 @@ for filename in schemas/v3*/schema.yaml ; do echo "$filename $lastCommitDate" mkdir -p deploy/oas/$version/schema node scripts/schema-convert.js "$filename" $lastCommitDate > deploy/oas/$version/schema/$lastCommitDate - mv deploy/oas/$version/schema/*.md deploy/oas/$version/schema/$lastCommitDate.md + # mv deploy/oas/$version/schema/*.md deploy/oas/$version/schema/$lastCommitDate.md + ls deploy/oas/$version/schema/* filenameBase=$(dirname "$filename")/schema-base.yaml if [ -f "$filenameBase" ]; then echo "$filenameBase $lastCommitDate" mkdir -p deploy/oas/$version/schema-base node scripts/schema-convert.js "$filenameBase" $lastCommitDate > deploy/oas/$version/schema-base/$lastCommitDate - mv deploy/oas/$version/schema-base/*.md deploy/oas/$version/schema-base/$lastCommitDate.md + # mv deploy/oas/$version/schema-base/*.md deploy/oas/$version/schema-base/$lastCommitDate.md + ls deploy/oas/$version/schema-base/* fi done From 98f055fd22106a5a9a0e7a23d6e71b0ec8ddaf23 Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Wed, 16 Oct 2024 21:21:21 +0200 Subject: [PATCH 06/12] Update schema-publish.sh --- scripts/schema-publish.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/schema-publish.sh b/scripts/schema-publish.sh index e970567cd2..4e2b3c8e78 100755 --- a/scripts/schema-publish.sh +++ b/scripts/schema-publish.sh @@ -5,21 +5,20 @@ # run this script from the root of the repo. It is designed to be run by a GitHub workflow. for filename in schemas/v3*/schema.yaml ; do - version=$(basename $(dirname "$filename")) + vVersion=$(basename $(dirname "$filename")) + version=${vVersion:1} lastCommitDate=$(git log -1 --format="%ad" --date=format:"%Y%m%d" "$filename") echo "$filename $lastCommitDate" mkdir -p deploy/oas/$version/schema node scripts/schema-convert.js "$filename" $lastCommitDate > deploy/oas/$version/schema/$lastCommitDate - # mv deploy/oas/$version/schema/*.md deploy/oas/$version/schema/$lastCommitDate.md - ls deploy/oas/$version/schema/* + mv deploy/oas/$version/schema/*.md deploy/oas/$version/schema/$lastCommitDate.md filenameBase=$(dirname "$filename")/schema-base.yaml if [ -f "$filenameBase" ]; then echo "$filenameBase $lastCommitDate" mkdir -p deploy/oas/$version/schema-base node scripts/schema-convert.js "$filenameBase" $lastCommitDate > deploy/oas/$version/schema-base/$lastCommitDate - # mv deploy/oas/$version/schema-base/*.md deploy/oas/$version/schema-base/$lastCommitDate.md - ls deploy/oas/$version/schema-base/* + mv deploy/oas/$version/schema-base/*.md deploy/oas/$version/schema-base/$lastCommitDate.md fi done From 8c198de8459a73a72a33d3123d01cd4387020c39 Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Wed, 16 Oct 2024 21:26:14 +0200 Subject: [PATCH 07/12] Update schema-publish.yaml --- .github/workflows/schema-publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/schema-publish.yaml b/.github/workflows/schema-publish.yaml index a862b61f28..60429cff98 100644 --- a/.github/workflows/schema-publish.yaml +++ b/.github/workflows/schema-publish.yaml @@ -50,8 +50,8 @@ jobs: delete-branch: true path: deploy labels: Housekeeping,Schema - reviewers: OAI/tsc #TODO: check if this works, or if groups need a different parameter - # team-reviewers: OAI/tsc #TODO: check if this works, or if it needs a special access token + # reviewers: OAI/tsc #TODO: check if this works, or if groups need a different parameter + team-reviewers: OAI/tsc #TODO: check if this works, or if it needs a special access token title: Publish OpenAPI Metaschema Iterations commit-message: New OpenAPI metaschema iterations signoff: true From e5f3b946893d5e65eb8b6ff32db1da1e5d2c2fb3 Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Wed, 16 Oct 2024 21:34:02 +0200 Subject: [PATCH 08/12] Update schema-publish.yaml --- .github/workflows/schema-publish.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/schema-publish.yaml b/.github/workflows/schema-publish.yaml index 60429cff98..7e82191b0f 100644 --- a/.github/workflows/schema-publish.yaml +++ b/.github/workflows/schema-publish.yaml @@ -13,7 +13,6 @@ on: push: branches: - main - - publish-schemas #TODO: remove workflow_dispatch: {} jobs: @@ -50,7 +49,6 @@ jobs: delete-branch: true path: deploy labels: Housekeeping,Schema - # reviewers: OAI/tsc #TODO: check if this works, or if groups need a different parameter team-reviewers: OAI/tsc #TODO: check if this works, or if it needs a special access token title: Publish OpenAPI Metaschema Iterations commit-message: New OpenAPI metaschema iterations From 2efd6ce9ec671d1e92d851f5321f96a9d68f6e4e Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Thu, 17 Oct 2024 12:00:27 +0200 Subject: [PATCH 09/12] Unit test --- scripts/schema-convert.js | 5 +- tests/md2html/md2html.test.js | 3 +- tests/schema-convert/fixtures/schema.json | 8 +++ tests/schema-convert/fixtures/schema.yaml | 5 ++ tests/schema-convert/schema-convert.test.js | 58 +++++++++++++++++++++ 5 files changed, 74 insertions(+), 5 deletions(-) create mode 100644 tests/schema-convert/fixtures/schema.json create mode 100644 tests/schema-convert/fixtures/schema.yaml create mode 100644 tests/schema-convert/schema-convert.test.js diff --git a/scripts/schema-convert.js b/scripts/schema-convert.js index bcf2afe9de..5a16af3e6e 100644 --- a/scripts/schema-convert.js +++ b/scripts/schema-convert.js @@ -6,10 +6,9 @@ const fs = require('fs'); const yaml = require('yaml'); function convert(filename,date) { - const s = fs.readFileSync(filename,'utf8'); - let obj; try { - obj = yaml.parse(s, {prettyErrors: true}); + const s = fs.readFileSync(filename,'utf8'); + const obj = yaml.parse(s, {prettyErrors: true}); // replace last segment of id, $id, and $ref value with date for (const p of ["id","$id","$ref"]) { if (obj[p]) { diff --git a/tests/md2html/md2html.test.js b/tests/md2html/md2html.test.js index 3309611d55..590ec94ce3 100644 --- a/tests/md2html/md2html.test.js +++ b/tests/md2html/md2html.test.js @@ -2,10 +2,9 @@ import { readdirSync, readFileSync } from "node:fs"; import { exec } from "node:child_process"; import { resolve } from "node:path"; import { describe, test, expect } from "vitest"; -import assert from "node:assert"; const folder = "./tests/md2html/fixtures/"; -describe("v3.0 - Validate examples", async () => { +describe("Markdown to HTML", async () => { readdirSync(folder, { withFileTypes: true }) .filter((entry) => entry.isFile() && /\.md$/.test(entry.name)) .forEach((entry) => { diff --git a/tests/schema-convert/fixtures/schema.json b/tests/schema-convert/fixtures/schema.json new file mode 100644 index 0000000000..e270fae560 --- /dev/null +++ b/tests/schema-convert/fixtures/schema.json @@ -0,0 +1,8 @@ +{ + "id": "https://spec.openapis.org/oas/3.0/schema/87654321", + "$id": "https://spec.openapis.org/oas/3.0/schema/87654321", + "$ref": "path/to/somewhere/87654321", + "other": { + "foo": "bar" + } +} diff --git a/tests/schema-convert/fixtures/schema.yaml b/tests/schema-convert/fixtures/schema.yaml new file mode 100644 index 0000000000..83d37a1b56 --- /dev/null +++ b/tests/schema-convert/fixtures/schema.yaml @@ -0,0 +1,5 @@ +id: https://spec.openapis.org/oas/3.0/schema/20241017 +$id: https://spec.openapis.org/oas/3.0/schema/some-iteration +$ref: path/to/somewhere/replace-last-segment +other: + foo: bar diff --git a/tests/schema-convert/schema-convert.test.js b/tests/schema-convert/schema-convert.test.js new file mode 100644 index 0000000000..bafc993115 --- /dev/null +++ b/tests/schema-convert/schema-convert.test.js @@ -0,0 +1,58 @@ +import { readdirSync, readFileSync } from "node:fs"; +import { exec } from "node:child_process"; +import { resolve } from "node:path"; +import { describe, test, expect } from "vitest"; +import assert from "node:assert"; + +const folder = "./tests/schema-convert/fixtures/"; +describe("Convert Schemas", async () => { + test("YAML with id, $id, $ref", async () => { + const expected = readFileSync(folder + "schema.json", "utf8"); + const output = await convert( + [ + "schema.yaml", + "87654321", + ], + folder, + ); + expect(output.stdout).to.equal(expected); + }); + + test("non-existing input", async () => { + const output = await convert( + [ + "does-not-exist", + "YYYYMMDD", + ], + folder, + ); + expect(output.stderr).to.equal(" ENOENT: no such file or directory, open 'does-not-exist'\n"); + }); + + test("invalid parameters", async () => { + const output = await convert( + [ + "schema.yaml", + ], + folder, + ); + expect(output.stderr).to.equal("Usage: convert-schema.js file.yaml YYYYMMDD\n"); + }); +}); + +function convert(args, cwd) { + return new Promise((res) => { + exec( + `node ${resolve("./scripts/schema-convert.js")} ${args.join(" ")}`, + { cwd }, + (error, stdout, stderr) => { + res({ + code: error?.code || 0, + error, + stdout, + stderr, + }); + }, + ); + }); +} From 2dce5ac2e41797d1a4c3afc08316cff75ba2a4fd Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Thu, 17 Oct 2024 17:46:40 +0200 Subject: [PATCH 10/12] Correct date format YYYY-MM-DD --- scripts/schema-convert.js | 2 +- scripts/schema-publish.sh | 2 +- tests/schema-convert/fixtures/schema.json | 6 +++--- tests/schema-convert/fixtures/schema.yaml | 2 +- tests/schema-convert/schema-convert.test.js | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/schema-convert.js b/scripts/schema-convert.js index 5a16af3e6e..ec8c6919ea 100644 --- a/scripts/schema-convert.js +++ b/scripts/schema-convert.js @@ -24,7 +24,7 @@ function convert(filename,date) { } if (process.argv.length<4) { - console.warn('Usage: convert-schema.js file.yaml YYYYMMDD'); + console.warn('Usage: convert-schema.js file.yaml YYYY-MM-DD'); } else { convert(process.argv[2], process.argv[3]); diff --git a/scripts/schema-publish.sh b/scripts/schema-publish.sh index 4e2b3c8e78..3990927cc8 100755 --- a/scripts/schema-publish.sh +++ b/scripts/schema-publish.sh @@ -7,7 +7,7 @@ for filename in schemas/v3*/schema.yaml ; do vVersion=$(basename $(dirname "$filename")) version=${vVersion:1} - lastCommitDate=$(git log -1 --format="%ad" --date=format:"%Y%m%d" "$filename") + lastCommitDate=$(git log -1 --format="%ad" --date=short "$filename") echo "$filename $lastCommitDate" mkdir -p deploy/oas/$version/schema diff --git a/tests/schema-convert/fixtures/schema.json b/tests/schema-convert/fixtures/schema.json index e270fae560..0d42e54685 100644 --- a/tests/schema-convert/fixtures/schema.json +++ b/tests/schema-convert/fixtures/schema.json @@ -1,7 +1,7 @@ { - "id": "https://spec.openapis.org/oas/3.0/schema/87654321", - "$id": "https://spec.openapis.org/oas/3.0/schema/87654321", - "$ref": "path/to/somewhere/87654321", + "id": "https://spec.openapis.org/oas/3.0/schema/8765-43-21", + "$id": "https://spec.openapis.org/oas/3.0/schema/8765-43-21", + "$ref": "path/to/somewhere/8765-43-21", "other": { "foo": "bar" } diff --git a/tests/schema-convert/fixtures/schema.yaml b/tests/schema-convert/fixtures/schema.yaml index 83d37a1b56..79efd300d9 100644 --- a/tests/schema-convert/fixtures/schema.yaml +++ b/tests/schema-convert/fixtures/schema.yaml @@ -1,4 +1,4 @@ -id: https://spec.openapis.org/oas/3.0/schema/20241017 +id: https://spec.openapis.org/oas/3.0/schema/2024-10-17 $id: https://spec.openapis.org/oas/3.0/schema/some-iteration $ref: path/to/somewhere/replace-last-segment other: diff --git a/tests/schema-convert/schema-convert.test.js b/tests/schema-convert/schema-convert.test.js index bafc993115..8fd47ace83 100644 --- a/tests/schema-convert/schema-convert.test.js +++ b/tests/schema-convert/schema-convert.test.js @@ -11,7 +11,7 @@ describe("Convert Schemas", async () => { const output = await convert( [ "schema.yaml", - "87654321", + "8765-43-21", ], folder, ); @@ -36,7 +36,7 @@ describe("Convert Schemas", async () => { ], folder, ); - expect(output.stderr).to.equal("Usage: convert-schema.js file.yaml YYYYMMDD\n"); + expect(output.stderr).to.equal("Usage: convert-schema.js file.yaml YYYY-MM-DD\n"); }); }); From 3a755ba9e337bb3f59bbf693db97a1949c4c8091 Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Thu, 17 Oct 2024 17:47:31 +0200 Subject: [PATCH 11/12] test --- .github/workflows/schema-publish.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/schema-publish.yaml b/.github/workflows/schema-publish.yaml index 7e82191b0f..565fa7749e 100644 --- a/.github/workflows/schema-publish.yaml +++ b/.github/workflows/schema-publish.yaml @@ -13,6 +13,7 @@ on: push: branches: - main + - publish-schemas workflow_dispatch: {} jobs: From cafb8b8981f4c1ab86d79245d292c3d2d8812ca0 Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Thu, 17 Oct 2024 17:48:56 +0200 Subject: [PATCH 12/12] Update schema-publish.yaml --- .github/workflows/schema-publish.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/schema-publish.yaml b/.github/workflows/schema-publish.yaml index 565fa7749e..7e82191b0f 100644 --- a/.github/workflows/schema-publish.yaml +++ b/.github/workflows/schema-publish.yaml @@ -13,7 +13,6 @@ on: push: branches: - main - - publish-schemas workflow_dispatch: {} jobs: