Skip to content

Commit

Permalink
ops: GitHub Action to detect breaking changes on Swagger (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
manuraf authored Jun 6, 2024
1 parent c9987d5 commit a248542
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release_open_api.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Swagger Detect Conflict and Update
name: Swagger Detect Rules and Conflict
on:
pull_request:
branches:
- main
types: [ opened, synchronize, reopened ]

permissions:
Expand All @@ -12,10 +10,10 @@ jobs:
swagger_conflict_update:
runs-on: ubuntu-20.04
permissions: write-all
name: Swagger Detect Conflict and Update
name: Swagger Detect Rules and Conflict
steps:
- id: swagger-conflict-update
- id: swagger-detect
uses: pagopa/selfcare-commons/github-actions-template/swagger-detect-conflict-spring@main
with:
path_openapi_docs: app/src/main/resources/swagger/api-docs.json
branch_ref: main
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a248542

Please sign in to comment.