Files
actions/get-repo-name/README.md
Timo Behrendt acff90b066
All checks were successful
CD / Release (push) Successful in 2m43s
feat: add get-repo-name (#20)
Reviewed-on: #20
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
2026-02-26 22:36:25 +01:00

12 lines
306 B
Markdown

# get-repo-name
Outputs the repository name from the Git/Gitea/GitHub environment without the owner.
Example: `t.behrendt/actions``actions`
```yaml
- id: repo
uses: https://gitea.t000-n.de/t.behrendt/actions/get-repo-name@0.0.0
- run: echo "Repository name is ${{ steps.repo.outputs.name }}"
```