# Actions type for Action

**Action Types**, GitHub Actions içindeki **özel actions** (ör. “actions/checkout”, “actions/setup-node” gibi) **yaratırken** seçebileceğin **yöntemler**dir.&#x20;

Başlıca 3 tür bulunur:

<figure><img src="/files/gG9Iso3Fl4dyJoJITxOn" alt=""><figcaption></figcaption></figure>

1. **Docker container action**
   * Action kodun, bir **Docker imajı** içinde çalıştırılır.
   * Yalnızca **Linux** runner’larında kullanılır (çünkü Docker container’lar Windows ve macOS runner’larında desteklenmez).
   * Örnek: `Dockerfile` içinde “entrypoint.sh” vb. ile bir komut seti paketleyebilirsin. Runner “docker run …” diyerek o container’ı çalıştırır.
2. **JavaScript action**
   * Action kodun, **Node.js tabanlı** JavaScript olarak doğrudan host makinede (runner) çalışır, Docker’a ihtiyaç yok.
   * Linux, macOS, Windows runner’larda da çalışır (Node 16 veya benzer sürüm kurulu kabul edilir).
   * Genelde **en yaygın** türdür; `index.js` + `action.yml` yazarak custom logic ekleyebilirsin.
3. **Composite action**
   * **Birden fazla** step (komut) ve belki ek script’leri bir araya getirerek **tek bir action** gibi tanımlarsın.
   * Docker veya JavaScript yazmadan, YAML step’lerini “composite” haline getirirsin.
   * Linux, macOS ve Windows’ta çalışabilir.

**Custom Actions**, GitHub Actions ekosisteminde kendi oluşturduğun (veya başkalarının oluşturup paylaştığı) **yeniden kullanılabilir komut setleridir**. Yani, Actions’ın “modüler bileşenleri” gibi düşünülebilir. Varsayılan olarak GitHub “actions/checkout”, “actions/setup-node” gibi resmî actions 'lar sunar. Fakat ihtiyacın doğrultusunda **kendin** de bir actions geliştirebilirsin.

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://note.onurbolatoglu.com/github-actions/actions-type-for-action.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
