Skip to content

Commit

Permalink
Create generate-swagger.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
spoo-bar committed Jan 2, 2024
1 parent ff727b9 commit 586a59f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/generate-swagger.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Generate Swagger Docs"

on:
pull_request:
branches: [main]

push:
branches: [spoorthi/generate-swagger-before-release]

jobs:
generate:
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
proto:
- 'proto/**'
- name: Generate Swagger File
if: steps.filter.outputs.proto == 'true'
run: make proto-swagger-gen

0 comments on commit 586a59f

Please sign in to comment.