From cc903969cc670c6ff92b46f0c6d13f3906522b2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Thu, 17 Sep 2026 16:06:43 +0300 Subject: [PATCH] ci(deploy): workflow'a permissions (contents read, actions read) ekle --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0fc0477..0cbf8af 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,6 +45,12 @@ on: # Deploy serileştirmesi workflow'da değil deploy işinde: yeni bir push, uçuştaki # VPS değişimine dokunmadan bayat Validate/Build'i iptal edebilmeli. +permissions: + contents: read + # workflow_dispatch yolu `gh run list/view` ile en yeni yeşil koşuyu arar ve o + # koşunun artefaktini indirir; ikisi de Actions API'sidir ve YAZMA GEREKMEZ. + actions: read + env: # systemd kullanıcı unit'i. Bkz. deploy/hezarfen_rule_based_chatbot_compose.service. SERVICE: hezarfen_rule_based_chatbot_compose