forge
Explore
Log in

Don't you dare go Hollow

Workflow'a permissions (contents read, actions read) ekle

Browse files at this commit

cc903969cc670c6ff92b46f0c6d13f3906522b2fAhmet Kaan GümüşParent: 0cf52a0
  • ci
    • workflow'a permissions (contents read, actions read) ekle
Show full message
ci(deploy): workflow'a permissions (contents read, actions read) ekle
.github/workflows/main.ymlmodified+6 -0
@@ -45,6 +45,12 @@ on:
45 # Deploy serileştirmesi workflow'da değil deploy işinde: yeni bir push, uçuştaki45 # Deploy serileştirmesi workflow'da değil deploy işinde: yeni bir push, uçuştaki
46 # VPS değişimine dokunmadan bayat Validate/Build'i iptal edebilmeli.46 # VPS değişimine dokunmadan bayat Validate/Build'i iptal edebilmeli.
47 47
48+permissions:
49+ contents: read
50+ # workflow_dispatch yolu `gh run list/view` ile en yeni yeşil koşuyu arar ve o
51+ # koşunun artefaktini indirir; ikisi de Actions API'sidir ve YAZMA GEREKMEZ.
52+ actions: read
53+
48 env:54 env:
49 # systemd kullanıcı unit'i. Bkz. deploy/hezarfen_rule_based_chatbot_compose.service.55 # systemd kullanıcı unit'i. Bkz. deploy/hezarfen_rule_based_chatbot_compose.service.
50 SERVICE: hezarfen_rule_based_chatbot_compose56 SERVICE: hezarfen_rule_based_chatbot_compose