feat: remove unneeded env
This commit is contained in:
parent
fb69700b06
commit
16acdfd6fd
@ -8,5 +8,3 @@ runs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: ${{ gitea.action_path }}/checkout.sh
|
||||
env:
|
||||
ACTION_TOKEN: ${{ inputs.token }}
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user