Skip to content

Commit c26e2ce

Browse files
committed
try pop and push
1 parent 8ea2fb4 commit c26e2ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/actions/version-bump-pr/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ runs:
3131
run: |
3232
BRANCH=repo-tools-$NEW_VERSION
3333
34-
cd $REPO
34+
pushd $REPO
3535
echo "Creating branch: $BRANCH"
3636
git checkout -b $BRANCH
3737
@@ -66,5 +66,5 @@ runs:
6666
echo "::warning::Existing pull request found: $EXISTING_PR"
6767
fi
6868
69-
echo "Resetting current dir:"
70-
cd $$GITHUB_ACTION_PATH
69+
echo "Resetting working dir:"
70+
popd

0 commit comments

Comments
 (0)