feat: remove unneeded env

This commit is contained in:
ange 2024-05-10 11:59:49 +02:00
parent fb69700b06
commit 16acdfd6fd
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
2 changed files with 1 additions and 3 deletions

View File

@ -8,5 +8,3 @@ runs:
steps:
- name: Checkout
run: ${{ gitea.action_path }}/checkout.sh
env:
ACTION_TOKEN: ${{ inputs.token }}

View File

@ -1,6 +1,6 @@
#!/bin/bash -e
URL="${GITHUB_SERVER_URL/\/\//\/\/$GITHUB_REPOSITORY_OWNER:$ACTION_TOKEN@}/$GITHUB_REPOSITORY"
URL="${GITHUB_SERVER_URL/\/\//\/\/$GITHUB_REPOSITORY_OWNER:$INPUT_TOKEN@}/$GITHUB_REPOSITORY"
git init -b main
git remote add origin "$URL"