Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogyie committed May 14, 2023
1 parent d27e204 commit 2f3f430
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
runs-on: ubuntu-latest
name: auto-fmt
steps:
- uses: Bogyie/auto-fmt@v0.0.7
- uses: Bogyie/auto-fmt@v0.0.8
3 changes: 1 addition & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
# INPUT_BASE_REF
# INPUT_HEAD_REF
# INPUT_TRIGGERING_ACTOR
ROOT_DIR="/"
PULL_NUMBER=$(grep -o '[0-9]*' $INPUT_REF)

git clone "https://$INPUT_TOKEN@github.com/$INPUT_REPOSITORY.git" repo

if [ -d repo ]; then
cd $ROOT_DIR/repo
cd repo
git pull origin $INPUT_BASE_REF
git pull origin $INPUT_HEAD_REF
git checkout $INPUT_HEAD_REF
Expand Down

0 comments on commit 2f3f430

Please sign in to comment.