From ae1792798d13a6a194c61316c2ba22328df08a17 Mon Sep 17 00:00:00 2001 From: Spoorthi Satheesha <9302666+spoo-bar@users.noreply.github.com> Date: Tue, 2 Jan 2024 19:11:06 +0000 Subject: [PATCH] ? --- .github/workflows/generate-swagger.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-swagger.yaml b/.github/workflows/generate-swagger.yaml index 869b57ce..7baaff8b 100644 --- a/.github/workflows/generate-swagger.yaml +++ b/.github/workflows/generate-swagger.yaml @@ -45,7 +45,7 @@ jobs: proto-swagger: runs-on: ubuntu-latest - needs: changes + needs: [changes, proto-format] permissions: contents: write if: ${{ needs.changes.outputs.proto == 'true' }} @@ -55,7 +55,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Generate Swagger File - run: make proto-swagger-gen + run: sudo make proto-swagger-gen - name: Commit Changes uses: stefanzweifel/git-auto-commit-action@v5