feat: add get-repo-name

This commit is contained in:
2026-02-26 22:33:34 +01:00
parent 8a4003819d
commit 6f8792174c
4 changed files with 45 additions and 1 deletions

11
get-repo-name/README.md Normal file
View File

@@ -0,0 +1,11 @@
# 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 }}"
```