Skip to content

Commit

Permalink
fix entropoint and test action
Browse files Browse the repository at this point in the history
  • Loading branch information
kvankova committed Oct 19, 2024
1 parent 5613feb commit f1e0b68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/test-code-embedder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,5 @@ jobs:
uses: ./
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Commit changes if any
run: |
if [[ -n $(git status -s) ]]; then
git config user.name github-actions
git config user.email [email protected]
git add README.md
git commit -m "Update README.md"
git push
fi


1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ python3 main.py
if [ -n "$(git status -s)" ]; then # Use [ ] instead of [[ ]]
git config --global user.name "github-actions"
git config --global user.email "[email protected]"
git config --global --add safe.directory /github/workspace

# Ensure we're in the correct directory
cd "$GITHUB_WORKSPACE" # This is the default location for the checked out repo
Expand Down

0 comments on commit f1e0b68

Please sign in to comment.