From 71c51426dd0b28d29a913ef6e7cea03dc2c59cf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ch=C4=99ci=C5=84ski?= Date: Thu, 22 Feb 2024 18:09:03 +0100 Subject: [PATCH] [DEVOPS-1785] Fix publish ruby sdk workflow permissions (#625) ## Type of change ``` - [x] Bug fix - [ ] New feature development - [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc) - [x] Build/deploy pipeline (DevOps) - [ ] Other ``` ## Objective ## Code changes - **.github/workflows/publish-ruby.yml:** Add `contents: read` permission and fix indentation ## Before you submit - Please add **unit tests** where it makes sense to do so --- .github/workflows/publish-ruby.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-ruby.yml b/.github/workflows/publish-ruby.yml index 2be1eab85..6614113cd 100644 --- a/.github/workflows/publish-ruby.yml +++ b/.github/workflows/publish-ruby.yml @@ -12,9 +12,11 @@ on: options: - Release - Dry Run - permissions: - id-token: write - contents: write + +permissions: + contents: read + pages: write + id-token: write jobs: setup: