Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
2b3a032
Check links only for changed files
ralfhandl Oct 9, 2025
f308865
Comment adjustment steps and describe them
ralfhandl Oct 8, 2025
1e2b5df
Create start-release.sh
ralfhandl Oct 12, 2025
1ab39f3
how to start a new version
ralfhandl Oct 12, 2025
33df1e6
Use sync branch names to test for allowed PRs
ralfhandl Oct 15, 2025
ee8e425
Merge pull request #5041 from ralfhandl/main-align-check-files-with-n…
miqui Oct 19, 2025
897f04c
Merge main into dev-sync-with-main
github-actions[bot] Oct 19, 2025
b3f54f5
Merge pull request #5030 from ralfhandl/main-linkspector-only-for-cha…
miqui Oct 19, 2025
1c442ea
Merge main into dev-sync-with-main
github-actions[bot] Oct 19, 2025
fd8a112
Run only on pull_request
ralfhandl Oct 19, 2025
986bf13
Merge pull request #5048 from ralfhandl/main-adjust-linkspector-workflow
ralfhandl Oct 19, 2025
ad5e775
Merge main into dev-sync-with-main
github-actions[bot] Oct 19, 2025
025049d
Adjust version-under-development per branch
ralfhandl Oct 19, 2025
af05e68
Enable auto-merge and describe it in CONTRIBUTING
ralfhandl Oct 11, 2025
71e6c15
Create PRs in new site repo
ralfhandl Oct 16, 2025
f40b597
Add a timeslot for choosing next week's meeting host
lornajane Oct 23, 2025
6420a73
ci: adds a dependabot vitest group to reduce spam
baywet Oct 23, 2025
a80e11b
ci: adds conditions to avoid jobs which depends on tokens to run on f…
baywet Oct 23, 2025
73e9619
Merge pull request #5057 from lornajane/select-meeting-hosts
miqui Oct 23, 2025
08d88ed
Merge main into dev-sync-with-main
github-actions[bot] Oct 23, 2025
aa422cd
Merge pull request #5059 from baywet/ci/condition-workflows-tokens
miqui Oct 23, 2025
d065ae6
Merge main into dev-sync-with-main
github-actions[bot] Oct 23, 2025
5284b8d
Merge pull request #5058 from baywet/ci/dependabot-vitest-group
miqui Oct 23, 2025
5eaf3bf
Merge main into dev-sync-with-main
github-actions[bot] Oct 23, 2025
6c41401
Bump the vitest group with 2 updates
dependabot[bot] Oct 23, 2025
05fd56a
Merge pull request #5060 from OAI/dependabot/npm_and_yarn/vitest-1cdf…
miqui Oct 23, 2025
1970d7c
Merge main into dev-sync-with-main
github-actions[bot] Oct 23, 2025
47ca392
Merge branch 'main' into main-publish-to-separate-website-repo
ralfhandl Oct 23, 2025
9538e5a
Bump the vitest group with 2 updates
dependabot[bot] Oct 24, 2025
251d1db
Merge pull request #5061 from OAI/dependabot/npm_and_yarn/vitest-cab4…
ralfhandl Oct 24, 2025
64efc80
Merge main into dev-sync-with-main
github-actions[bot] Oct 24, 2025
bfb5033
Merge pull request #5050 from ralfhandl/main-contributing-adjust-acti…
miqui Oct 26, 2025
2067792
Merge main into dev-sync-with-main
github-actions[bot] Oct 26, 2025
691466f
Merge pull request #5034 from ralfhandl/main-start-release
miqui Oct 27, 2025
f4948e0
Merge main into dev-sync-with-main
github-actions[bot] Oct 27, 2025
191a722
Merge pull request #5026 from ralfhandl/main-contributing.md-adjust-r…
miqui Oct 27, 2025
13daff3
Merge main into dev-sync-with-main
github-actions[bot] Oct 27, 2025
2499167
Merge pull request #5039 from ralfhandl/main-enable-auto-merge-for-sy…
miqui Oct 27, 2025
3c426c0
Merge main into dev-sync-with-main
github-actions[bot] Oct 27, 2025
4e281f1
Bump the vitest group with 2 updates
dependabot[bot] Oct 27, 2025
33c9e78
Bump @hyperjump/json-schema-coverage from 1.1.1 to 1.1.2
dependabot[bot] Oct 27, 2025
db6de65
Merge pull request #5046 from OAI/main-publish-to-separate-website-repo
ralfhandl Oct 27, 2025
34448dd
Merge main into dev-sync-with-main
github-actions[bot] Oct 27, 2025
18ceab7
Bump actions/setup-node from 5 to 6
dependabot[bot] Oct 27, 2025
01c591c
Merge pull request #5035 from OAI/dependabot/github_actions/actions/s…
ralfhandl Oct 27, 2025
80ad612
Merge main into dev-sync-with-main
github-actions[bot] Oct 27, 2025
af63911
Merge pull request #5069 from OAI/dependabot/npm_and_yarn/vitest-0717…
ralfhandl Oct 27, 2025
a8dcceb
Merge main into dev-sync-with-main
github-actions[bot] Oct 27, 2025
831d12d
Merge pull request #5070 from OAI/dependabot/npm_and_yarn/hyperjump/j…
ralfhandl Oct 27, 2025
9976706
Merge main into dev-sync-with-main
github-actions[bot] Oct 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 14 additions & 10 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
groups:
vitest:
patterns:
- "*vitest*"
2 changes: 0 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ present on the main branch, only on the development branches).
* 3.1.x spec and schemas: v3.1-dev branch
* 3.2.x spec and schemas: v3.2-dev branch
* 3.3.x spec and schemas: v3.3-dev branch
* registry templates: gh-pages branch, registry/...
* registry contents: gh-pages branch, registries/...
* process documentation and build infrastructure: main

Note that we do not accept changes to published specifications.
Expand Down
1 change: 1 addition & 0 deletions .github/templates/agenda.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ Any other business (add comments below to suggest topics) | TDC | |
[Approved spec PRs](https://github.com/OAI/OpenAPI-Specification/pulls?q=is%3Apr+is%3Aopen+review%3Aapproved) | @OAI/tsc | |
[Active Projects](https://github.com/OAI/OpenAPI-Specification/projects?query=is%3Aopen) | @OAI/openapi-maintainers | |
[New issues needing attention](https://github.com/search?q=repo%3Aoai%2Fopenapi-specification+is%3Aissue+comments%3A0+no%3Alabel+is%3Aopen) | @OAI/triage | |
Identify next week's meeting host (2 mins) | All | Comment on next week's agenda |

/cc [@OAI/tsc](https://github.com/orgs/OAI/teams/tsc) please suggest items for inclusion.
25 changes: 16 additions & 9 deletions .github/workflows/check-restricted-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,32 @@ name: check-restricted-files
on:
pull_request:
paths:
- 'schemas/**/*.yaml'
- 'versions/*.md'
- "versions/*.md"

jobs:
check-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5 # checkout repo content
with:
fetch-depth: 0

- name: Check changed files
shell: bash
run: |
if [[ "${{ github.event.pull_request.head.repo.full_name }}" == "OAI/OpenAPI-Specification" ]] && \
[[ "${{ github.event.pull_request.base.repo.full_name }}" == "OAI/OpenAPI-Specification" ]]; then
if [[ "${{ github.event.pull_request.head.ref }}" == "main" ]] && \

if [[ "${{ github.event.pull_request.head.ref }}" == "dev-sync-with-main" ]] && \
[[ "${{ github.event.pull_request.base.ref }}" == "dev" ]]; then
echo Sync from main to dev
echo Sync from main to dev via ${{ github.event.pull_request.head.ref }}
exit 0
fi

if [[ "${{ github.event.pull_request.head.ref }}" == "dev" ]] && \
[[ "${{ github.event.pull_request.base.ref }}" =~ ^v[0-9]+\.[0-9]+-dev$ ]]; then
echo Sync from dev to ${{ github.event.pull_request.base.ref }}
if [[ "${{ github.event.pull_request.head.ref }}" =~ ^v[0-9]+\.[0-9]+-dev-sync-with-dev$ ]] && \
[[ "${{ github.event.pull_request.base.ref }}" =~ ^v[0-9]+\.[0-9]+-dev$ ]] && \
[[ ${{ github.event.pull_request.head.ref }} == ${{ github.event.pull_request.base.ref }}* ]]; then
echo Sync from dev to ${{ github.event.pull_request.base.ref }} via ${{ github.event.pull_request.head.ref }}
exit 0
fi

Expand All @@ -40,5 +44,8 @@ jobs:
fi
fi

echo This PR contains changes to files that should not be changed
echo This PR contains changes to files that should not be changed:
echo
git diff --compact-summary origin/${{ github.event.pull_request.base.ref }} origin/${{ github.event.pull_request.head.ref }} -- versions/

exit 1
86 changes: 47 additions & 39 deletions .github/workflows/respec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: respec

# author: @MikeRalphson
# author: @MikeRalphson, @ralfhandl
# issue: https://github.com/OAI/OpenAPI-Specification/issues/1564

#
# This workflow updates the respec 'pretty' rendered versions of the spec
# on the gh-pages branch when the corresponding markdown files change.
# This workflow creates a pull request for publishing HTML spec versions to the spec.openapis.org site.
#

# run this manually from main
Expand All @@ -19,41 +18,50 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5 # checkout main branch
with:
fetch-depth: 0

- uses: actions/setup-node@v5 # setup Node.js
with:
node-version: '20.x'

- name: Install dependencies
run: npm ci

- uses: actions/checkout@v5 # checkout gh-pages branch
with:
ref: gh-pages
path: deploy

- name: run main script
run: scripts/md2html/build.sh

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: update-respec-version
base: gh-pages
delete-branch: true
path: deploy
labels: Housekeeping
reviewers: earth2marsh,lornajane,mikekistler,miqui,ralfhandl,handrews,karenetheridge
title: Update ReSpec-rendered specification versions
commit-message: Update ReSpec-rendered specification versions
signoff: true
body: |
This pull request is automatically triggered by GitHub action `respec`.

The `versions/*.md` files have changed, so the HTML files are automatically being regenerated.
- name: Generate access token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.OAI_SPEC_PUBLISHER_APPID }}
private-key: ${{ secrets.OAI_SPEC_PUBLISHER_PRIVATE_KEY }}
owner: OAI
repositories: spec.openapis.org

- uses: actions/checkout@v5 # checkout main branch of this repo
with:
fetch-depth: 0

- uses: actions/setup-node@v6 # setup Node.js
with:
node-version: "22.x"

- name: Install dependencies
run: npm ci

- uses: actions/checkout@v5 # checkout main branch of website repo
with:
token: ${{ steps.generate-token.outputs.token }}
repository: OAI/spec.openapis.org
ref: main
path: deploy

- name: run main script
run: scripts/md2html/build.sh

- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ steps.generate-token.outputs.token }}
branch: openapi-spec-versions
base: main
delete-branch: true
path: deploy
labels: OpenAPI,Specification
reviewers: earth2marsh,lornajane,mikekistler,miqui,ralfhandl,whitlockjc,handrews,karenetheridge
title: OpenAPI - update ReSpec-rendered specification versions
commit-message: Update ReSpec-rendered specification versions
signoff: true
body: |
This pull request is automatically generated by GitHub action `respec` in the OAI/OpenAPI-Specification repo.

The `versions/*.md` files of the OpenAPI Specification have changed and the corresponding HTML files are regenerated.
90 changes: 49 additions & 41 deletions .github/workflows/schema-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,58 +4,66 @@ name: schema-publish
# issue: https://github.com/OAI/OpenAPI-Specification/issues/3715

#
# This workflow creates a pull request for publishing schema iterations to the gh-pages branch
# This workflow creates a pull request for publishing schema iterations to the spec.openapis.org site.
#

# run this on push to vX.Y-dev branches or manually
on:
push:
branches:
- 'v[0-9].[0-9]-dev'
- "v[0-9].[0-9]-dev"
paths:
- 'src/schemas/validation/*.yaml'
- 'scripts/schema-publish.sh'
- '.github/workflows/schema-publish.yaml'
- "src/schemas/validation/*.yaml"
workflow_dispatch: {}

jobs:
publish:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5 # checkout main branch
with:
fetch-depth: 0

- uses: actions/setup-node@v5 # setup Node.js
with:
node-version: '22.x'

- name: Install dependencies
run: npm ci

- uses: actions/checkout@v5 # 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: ${{ github.ref_name }}-publish-schema-iteration
base: gh-pages
delete-branch: true
path: deploy
labels: Housekeeping,Schema
reviewers: darrelmiller,webron,earth2marsh,lornajane,mikekistler,miqui,ralfhandl,handrews,karenetheridge
title: '${{ github.ref_name }}: publish OpenAPI schema iterations'
commit-message: New OpenAPI schema iterations
signoff: true
body: |
This pull request is automatically generated by GitHub action `schema-publish`.
The `src/schemas/validation/*.yaml` files have changed and JSON files are automatically generated.
- name: Generate access token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.OAI_SPEC_PUBLISHER_APPID }}
private-key: ${{ secrets.OAI_SPEC_PUBLISHER_PRIVATE_KEY }}
owner: OAI
repositories: spec.openapis.org

- uses: actions/checkout@v5 # checkout main branch of this repo
with:
fetch-depth: 0

- uses: actions/setup-node@v6 # setup Node.js
with:
node-version: "22.x"

- name: Install dependencies
run: npm ci

- uses: actions/checkout@v5 # checkout main branch of website repo
with:
token: ${{ steps.generate-token.outputs.token }}
repository: OAI/spec.openapis.org
ref: main
path: deploy

- name: run main script
run: scripts/schema-publish.sh

- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ steps.generate-token.outputs.token }}
branch: openapi-${{ github.ref_name }}-schema-iterations
base: main
delete-branch: true
path: deploy
labels: OpenAPI,Schema
reviewers: earth2marsh,lornajane,mikekistler,miqui,ralfhandl,whitlockjc,handrews,karenetheridge
title: "OpenAPI - publish ${{ github.ref_name }} schema iterations"
commit-message: "New OpenAPI schema iterations published from ${{ github.ref_name }}"
signoff: true
body: |
This pull request is automatically generated by GitHub action `schema-publish` in the OAI/OpenAPI-Specification repo.
The `src/schemas/validation/*.yaml` files have changed and JSON files are automatically generated.
2 changes: 1 addition & 1 deletion .github/workflows/schema-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-node@v5 # setup Node.js
- uses: actions/setup-node@v6 # setup Node.js
with:
node-version: '20.x'

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/sync-dev-to-vX.Y-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:

jobs:
sync-branches:
if: github.repository == 'OAI/OpenAPI-Specification'
runs-on: ubuntu-latest
steps:
- name: Generate access token
Expand Down Expand Up @@ -61,11 +62,11 @@ jobs:
--title "$BASE: sync with $HEAD" \
--body "Merge relevant changes from \`$HEAD\` into \`$BASE\`.")
echo ""
echo "PR to sync $DEV_BRANCH: $PR"
echo "PR to sync $BASE with $HEAD: $PR"
sleep 10 # allow status checks to be triggered

gh pr checks $PR --watch --required || continue
# gh pr merge $PR --merge --admin
gh pr merge $PR --merge --admin
done
env:
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sync-main-to-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:

jobs:
sync-branch:
if: github.repository == 'OAI/OpenAPI-Specification'
runs-on: ubuntu-latest
steps:
- name: Generate access token
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/validate-markdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ name: validate-markdown
# Author: @MikeRalphson
# Issue: https://github.com/OAI/OpenAPI-Specification/issues/2130

#
# This workflow validates markdown files in the project root.
# It also validates the work-in-progress specification file src/oas.md with slightly different rules.
#

# run this on push to any branch and creation of pull-requests
on: [push, pull_request]
# run this on pull requests (which includes pushes to their head branch)
on:
- pull_request

jobs:
lint:
Expand All @@ -18,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v5 # checkout repo content

- uses: actions/setup-node@v5 # setup Node.js
- uses: actions/setup-node@v6 # setup Node.js
with:
node-version: "20.x"

Expand All @@ -33,4 +32,4 @@ jobs:
with:
reporter: github-check
fail_level: any
filter_mode: nofilter
filter_mode: file
2 changes: 1 addition & 1 deletion .linkspector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ files:
- src/oas.md
- CONTRIBUTING.md
- EDITORS.md
# - GOVERNANCE.md
- GOVERNANCE.md
- IMPLEMENTATIONS.md
- MAINTAINERS.md
- README.md
Expand Down
Loading