From 30baaa0b272e28f275ac36f4034da13982cef5a1 Mon Sep 17 00:00:00 2001 From: Antonella Sgarlatta Date: Fri, 6 Feb 2026 16:32:31 -0300 Subject: [PATCH] chore: fix publish.yml --- .github/workflows/publish.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 53e158306..9ee80635e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,6 +4,9 @@ on: push: branches: [main] +permissions: + id-token: write + jobs: build: name: Build & Test @@ -105,6 +108,7 @@ jobs: publish-web-docker: name: Build and publish Docker Image for Web App + if: "${{ contains(github.event.head_commit.message, 'chore(release): publish') == false }}" runs-on: ubuntu-latest steps: - name: Checkout code @@ -142,6 +146,7 @@ jobs: publish: name: Publish to NPM + if: "${{ contains(github.event.head_commit.message, 'chore(release): publish') == true }}" runs-on: ubuntu-latest steps: - name: Checkout code