feat: add get-repo-name (#20)
All checks were successful
CD / Release (push) Successful in 2m43s

Reviewed-on: #20
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
This commit was merged in pull request #20.
This commit is contained in:
2026-02-26 22:36:25 +01:00
committed by t.behrendt
parent 8a4003819d
commit acff90b066
4 changed files with 45 additions and 1 deletions

16
.gitea/workflows/ci.yaml Normal file
View File

@@ -0,0 +1,16 @@
name: CI
on:
pull_request:
jobs:
test_get-repo-name:
name: Test get-repo-name
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- id: repo
uses: ./get-repo-name
- run: |
test "${{ steps.repo.outputs.name }}" = "actions" || (echo "Expected repo name 'actions', got '${{ steps.repo.outputs.name }}'" && exit 1)
- run: echo "Original repository name is ${{ GITEA_REPOSITORY }}"