From 758e0ee675e83d526593fbf8951b74a1e1686cb9 Mon Sep 17 00:00:00 2001 From: Benjamin DENEUX Date: Fri, 30 Jun 2023 16:22:26 +0200 Subject: [PATCH] ci(buf): remove --draft args on main branch --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f742e9ea..21a0a5d1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -90,7 +90,7 @@ jobs: - name: Push okp4 proto on buf registry run: - buf push proto ${{ github.ref_type == 'tag' && '--tag' || '--draft' }} ${{ github.ref_name }} + buf push proto --tag ${{ github.ref_type == 'tag' && github.ref_name || github.sha }} env: BUF_TOKEN: ${{ secrets.BUF_TOKEN }}