Update URLs from code.flowmade.one to git.flowmade.one
Migrate all action files to use the new Gitea server URL. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -21,8 +21,8 @@ runs:
|
|||||||
- shell: bash
|
- shell: bash
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ inputs.depth }}" = "0" ]; then
|
if [ "${{ inputs.depth }}" = "0" ]; then
|
||||||
git clone "https://oauth2:${{ inputs.token }}@code.flowmade.one/${{ inputs.repository }}.git" .
|
git clone "https://oauth2:${{ inputs.token }}@git.flowmade.one/${{ inputs.repository }}.git" .
|
||||||
else
|
else
|
||||||
git clone --depth "${{ inputs.depth }}" --branch "${{ inputs.ref }}" \
|
git clone --depth "${{ inputs.depth }}" --branch "${{ inputs.ref }}" \
|
||||||
"https://oauth2:${{ inputs.token }}@code.flowmade.one/${{ inputs.repository }}.git" .
|
"https://oauth2:${{ inputs.token }}@git.flowmade.one/${{ inputs.repository }}.git" .
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ runs:
|
|||||||
JSON=$(jq -n --arg body "$BODY" '{body: $body}')
|
JSON=$(jq -n --arg body "$BODY" '{body: $body}')
|
||||||
|
|
||||||
RESPONSE=$(curl -s -X POST \
|
RESPONSE=$(curl -s -X POST \
|
||||||
"https://code.flowmade.one/api/v1/repos/$REPO/issues/$PR_NUMBER/comments" \
|
"https://git.flowmade.one/api/v1/repos/$REPO/issues/$PR_NUMBER/comments" \
|
||||||
-H "Authorization: token $TOKEN" \
|
-H "Authorization: token $TOKEN" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "$JSON")
|
-d "$JSON")
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ runs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
RESPONSE=$(curl -s -X POST \
|
RESPONSE=$(curl -s -X POST \
|
||||||
"https://code.flowmade.one/api/v1/repos/$REPO/issues" \
|
"https://git.flowmade.one/api/v1/repos/$REPO/issues" \
|
||||||
-H "Authorization: token $TOKEN" \
|
-H "Authorization: token $TOKEN" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "$JSON")
|
-d "$JSON")
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ runs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
RESPONSE=$(curl -s -X POST \
|
RESPONSE=$(curl -s -X POST \
|
||||||
"https://code.flowmade.one/api/v1/repos/$REPO/pulls" \
|
"https://git.flowmade.one/api/v1/repos/$REPO/pulls" \
|
||||||
-H "Authorization: token $TOKEN" \
|
-H "Authorization: token $TOKEN" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "$JSON")
|
-d "$JSON")
|
||||||
|
|||||||
@@ -42,8 +42,8 @@ runs:
|
|||||||
|
|
||||||
# Configure git and create tag
|
# Configure git and create tag
|
||||||
git config user.name forgejo-actions
|
git config user.name forgejo-actions
|
||||||
git config user.email forgejo-actions@code.flowmade.one
|
git config user.email forgejo-actions@git.flowmade.one
|
||||||
git tag "$NEXT_VERSION"
|
git tag "$NEXT_VERSION"
|
||||||
|
|
||||||
# Push tag using token
|
# Push tag using token
|
||||||
git push "https://oauth2:${{ inputs.token }}@code.flowmade.one/${{ github.repository }}.git" "$NEXT_VERSION"
|
git push "https://oauth2:${{ inputs.token }}@git.flowmade.one/${{ github.repository }}.git" "$NEXT_VERSION"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ inputs:
|
|||||||
default: 'latest'
|
default: 'latest'
|
||||||
registry:
|
registry:
|
||||||
description: Registry URL
|
description: Registry URL
|
||||||
default: 'code.flowmade.one'
|
default: 'git.flowmade.one'
|
||||||
username:
|
username:
|
||||||
description: Registry username
|
description: Registry username
|
||||||
default: ${{ github.repository_owner }}
|
default: ${{ github.repository_owner }}
|
||||||
|
|||||||
Reference in New Issue
Block a user