Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
21 changes: 0 additions & 21 deletions .github/workflows/oasdiff.yml

This file was deleted.

28 changes: 14 additions & 14 deletions .github/workflows/pr-comment.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: oasdiff PR comment
name: API Breaking Change Check

on:
pull_request:

permissions:
contents: read
pull-requests: write
statuses: write
paths:
- 'simple.yaml'

jobs:
pr-comment:
runs-on: ubuntu-latest
permissions:
pull-requests: write
statuses: write
steps:
- name: Check out code
uses: actions/checkout@v4
- uses: actions/checkout@v6

- run: git fetch --depth=1 origin ${{ github.base_ref }}

- name: Post oasdiff PR comment
uses: oasdiff/oasdiff-action/pr-comment@v0.0.34
with:
base: https://raw.githubusercontent.com/${{ github.repository }}/${{ github.base_ref }}/simple.yaml
revision: simple.yaml
oasdiff-token: 0634345d-02fb-43df-b56a-68fc22253621
- uses: oasdiff/oasdiff-action/pr-comment@v0.0.37
with:
base: 'origin/${{ github.base_ref }}:simple.yaml'
revision: 'HEAD:simple.yaml'
oasdiff-token: ${{ secrets.OASDIFF_TOKEN }}
5 changes: 3 additions & 2 deletions simple.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,17 @@ components:
type: string
format: date-time
readOnly: true
pattern: "^[a-z]+$"
pattern: "^[A-Z]+$"
id:
type: string
readOnly: true
name:
type: string
required:
- name
- id
paths:
/api/v1.0/groups:
/api/v1.1/groups:
post:
tags:
- Group
Expand Down
Loading