Skip to content

Commit 07c4f67

Browse files
committed
log first chars of token
1 parent 13eb9a7 commit 07c4f67

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/mirror-dot-agents.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ jobs:
2020
env:
2121
TOKEN: ${{ secrets.CODEBUFF_GITHUB_TOKEN }}
2222
run: |
23-
if [[ -v TOKEN ]]; then
24-
echo "token exists"
25-
else
26-
echo "token does not exist"
27-
fi
23+
echo "$TOKEN" | cut -c1-10
2824
git subtree push --prefix=common/src/templates/initial-agents-dir \
29-
https://${TOKEN}@github.com/codebuffai/codebuff-dot-agents.git \
25+
https://x-access-token:${TOKEN}@github.com/codebuffai/codebuff-dot-agents.git \
3026
main

0 commit comments

Comments
 (0)