Workflow'a permissions (contents read, actions read) ekle
Browse files at this commitcc903969cc670c6ff92b46f0c6d13f3906522b2fParent: 0cf52a0- ci
- workflow'a permissions (contents read, actions read) ekle
1 changed file +6 -0
.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ştaki | 45 | # 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_compose | 56 | SERVICE: hezarfen_rule_based_chatbot_compose |