From e63aebbe2ea0b0bc1f7ab78ea1b5f76bcacb6c0a Mon Sep 17 00:00:00 2001 From: Petar Todorovic Date: Thu, 22 May 2025 15:03:14 +0200 Subject: [PATCH 1/2] ci: add workflow permissions --- .github/workflows/ci.yml | 2 ++ .github/workflows/release.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b2cd245..7849132e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,8 @@ on: jobs: clean-code-stage: runs-on: ubuntu-latest + permissions: + contents: read env: NODE_OPTIONS: "--max_old_space_size=8192" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 41f2159b..783887a3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,9 @@ jobs: release: name: Release runs-on: ubuntu-latest + permissions: + pull-requests: write + contents: write environment: production env: NODE_OPTIONS: "--max_old_space_size=8192" From 4eba09f8cde86256c73fbf341817168b207ff09a Mon Sep 17 00:00:00 2001 From: petar-omni <117348982+petar-omni@users.noreply.github.com> Date: Thu, 22 May 2025 15:10:10 +0200 Subject: [PATCH 2/2] Update .github/workflows/release.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 783887a3..8d7d1072 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,7 @@ jobs: permissions: pull-requests: write contents: write + deployments: write environment: production env: NODE_OPTIONS: "--max_old_space_size=8192"