diff --git a/.github/workflows/oasdiff.yml b/.github/workflows/oasdiff.yml new file mode 100644 index 0000000..ed97d9f --- /dev/null +++ b/.github/workflows/oasdiff.yml @@ -0,0 +1,21 @@ +name: oasdiff + +on: + pull_request: + +permissions: + pull-requests: write + +jobs: + oasdiff: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + + - run: git fetch --depth=1 origin ${{ github.base_ref }} + + - uses: oasdiff/oasdiff-action/pr-comment@v0.0.31 + with: + base: 'origin/${{ github.base_ref }}:simple.yaml' + revision: 'HEAD:simple.yaml' + oasdiff-token: ${{ secrets.OASDIFF_TOKEN }}