<p>Github stores it's CI in a &quot;workflow&quot; file. This must be in the <code>.github/workflows</code> directory, and can have any name. All files in that directory have equal precedence. Your yaml must have a <code>.yml</code> or <code>.yaml</code> extension.</p>
<p>For more information see the documentation here:</p>
<ul>
<li><a href="https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#about-yaml-syntax-for-workflows" rel="nofollow noreferrer">About YAML syntax for workflows</a></li>
</ul>

CC BY-SA 4.0
2024-11-25T01:15:23.393Z
2024-11-25T01:15:23.393Z
Evan Carroll
<p>GitLab allows you to write CI into <code>.gitlab-ci.yml</code>. Where does Github store it's yaml file?</p>

<github-actions>
Where do I place my GitHub Action CI in my repo?
Evan Carroll
# Where do I place my GitHub Action CI in my repo?

(Asked by: username_0 on 2024-11-25)

GitLab allows you to write CI into `.gitlab-ci.yml`. Where does Github store it's yaml file?

**Tags:** github-actions


---

## 1 answers

### Answer by username_0 on 2024-11-25. Score: 0 | Accepted answer

Github stores it's CI in a "workflow" file. This must be in the `.github/workflows` directory, and can have any name. All files in that directory have equal precedence. Your yaml must have a `.yml` or `.yaml` extension.

For more information see the documentation here:

* [About YAML syntax for workflows](https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#about-yaml-syntax-for-workflows)


---

