From e6f600675cd2ee2308fbc24e52a4c89cc40cba5b Mon Sep 17 00:00:00 2001 From: Davids Seveloff <94905340+davseve@users.noreply.github.com> Date: Tue, 24 Oct 2023 14:07:24 +0300 Subject: [PATCH] Internal: Core - Add writing contents permissions to automated continues release [ED-12498] (#24079) Co-authored-by: Barco <130742176+Barcov@users.noreply.github.com> --- .github/workflows/latest-release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/latest-release.yml b/.github/workflows/latest-release.yml index c9775d8453c..e4d82fd5fb0 100644 --- a/.github/workflows/latest-release.yml +++ b/.github/workflows/latest-release.yml @@ -9,6 +9,13 @@ on: types: [closed] branches: - main + workflow_dispatch: + branches: + - main + +permissions: + contents: write + id-token: write permissions: contents: write @@ -21,7 +28,7 @@ concurrency: jobs: latest_release: - if: github.event.pull_request.merged == true && github.base_ref == 'main' && !contains(github.event.pull_request.labels.*.name, 'skip release' ) +# if: github.event.pull_request.merged == true && github.base_ref == 'main' && !contains(github.event.pull_request.labels.*.name, 'skip release' ) runs-on: ubuntu-22.04 steps: - name: checkout branch