tidy up
Some checks failed
CI / build-and-test (push) Has been cancelled

This commit is contained in:
Tobias Klemp
2026-01-01 23:58:01 +01:00
parent 2f79f0c4fe
commit fd88dadf21
2 changed files with 3 additions and 2 deletions

View File

@@ -20,8 +20,6 @@ runs:
# Extract PR info using curl (Gitea API is similar to GitHub) # Extract PR info using curl (Gitea API is similar to GitHub)
PR_INFO=$(curl -s -H "Authorization: token ${{ gitea.token }}" "${{ gitea.api_url }}/repos/${{ gitea.repository }}/pulls/${{ gitea.event.issue.number }}") PR_INFO=$(curl -s -H "Authorization: token ${{ gitea.token }}" "${{ gitea.api_url }}/repos/${{ gitea.repository }}/pulls/${{ gitea.event.issue.number }}")
echo "$PR_INFO"
# Extract branch name from JSON response # Extract branch name from JSON response
BRANCH_NAME=$(echo "$PR_INFO" | jq -r '.head.ref') BRANCH_NAME=$(echo "$PR_INFO" | jq -r '.head.ref')

View File

@@ -24,6 +24,9 @@ jobs:
id: branch_name id: branch_name
uses: ./.gitea/actions/getTagSafeRef uses: ./.gitea/actions/getTagSafeRef
- name: print sanitized name
run: 'echo ${{ steps.branch_name.outputs.branch_name }}'
# - name: Print result # - name: Print result
# run: echo "Branch name: ${{ steps.branch_name.outputs.branch_name }}" # run: echo "Branch name: ${{ steps.branch_name.outputs.branch_name }}"