diff --git a/.github/workflows/release_open_api.yml b/.github/workflows/release_open_api.yml index 0d3aed43e..0d30053c5 100644 --- a/.github/workflows/release_open_api.yml +++ b/.github/workflows/release_open_api.yml @@ -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 ] # workflow_dispatch: permissions: @@ -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 \ No newline at end of file + github_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file