From d6df865190d7b94b149d5b77acf0a038bc1c7ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Portela=20Afonso?= Date: Tue, 29 Oct 2024 14:51:43 +0000 Subject: [PATCH] fix(actions): add permissions object (#1668) --- .github/workflows/merge-dev.yml | 6 ++++++ .github/workflows/merge-master.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/merge-dev.yml b/.github/workflows/merge-dev.yml index aa8012726..5de7d0ea5 100644 --- a/.github/workflows/merge-dev.yml +++ b/.github/workflows/merge-dev.yml @@ -7,6 +7,12 @@ on: - develop +permissions: + id-token: write + contents: read + packages: read + + jobs: prepare: name: Calculate Version and Build Number diff --git a/.github/workflows/merge-master.yml b/.github/workflows/merge-master.yml index 8bc8eca40..d9e8b7eb0 100644 --- a/.github/workflows/merge-master.yml +++ b/.github/workflows/merge-master.yml @@ -7,6 +7,12 @@ on: - master +permissions: + id-token: write + contents: read + packages: read + + jobs: prepare: name: Calculate Version and Build Number