Skip to content

Commit c376277

Browse files
authored
Add GitHub Actions naming (#411)
1 parent 3159897 commit c376277

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# 023 — GitHub Actions
2+
3+
This document defines naming convention for the GitHub actions configuration files.
4+
5+
## Inputs and Outputs
6+
7+
Input names and output names must use kebab-case format.
8+
9+
For example:
10+
11+
```yaml
12+
inputs:
13+
my-input:
14+
description: 'My input'
15+
```
16+
17+
## Secrets and Environment Variables
18+
19+
Secret names and environment variable names must use SCREAMING_SNAKE_CASE format.
20+
21+
For example:
22+
23+
```yaml
24+
secrets:
25+
MY_SECRET:
26+
description: 'My secret'
27+
```
28+
29+
```yaml
30+
env:
31+
MY_ENV_VAR: 1
32+
```

src/internals/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ It covers guidelines, workflows, and best practices for maintaining and developi
2828
- [020 — Package release](020-package-release.md) - Release process for packages
2929
- [021 — Changelog and upgrade](021-changelog-upgrade.md) - Maintaining changelogs and upgrade notes
3030
- [022 — Config groups](022-config-groups.md) - Configuration group organization
31+
- [023 - GitHub Actions](023-github-actions.md) - GitHub actions configuration

0 commit comments

Comments
 (0)