Skip to content

Commit

Permalink
fix git ids
Browse files Browse the repository at this point in the history
  • Loading branch information
Lifeismana committed Jul 10, 2024
1 parent 74654cb commit 6f342a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ jobs:
env:
APP_TO_PROCESS: ${{ inputs.app_id }}
APP_VERSION: ${{ inputs.version }}
GIT_NAME: ${{ secrets.GIT_NAME}}
GIT_EMAIL: ${{ secrets.GIT_EMAIL}}
2 changes: 2 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash
[ -n "$GIT_NAME" ] && git config --global user.name "$GIT_NAME"
[ -n "$GIT_EMAIL" ] && git config --global user.email "$GIT_EMAIL"
git config --global --add safe.directory $GITHUB_WORKSPACE
cd $GITHUB_WORKSPACE && ./script.sh

0 comments on commit 6f342a2

Please sign in to comment.