-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alex Guretzki
committed
Aug 19, 2024
1 parent
b336f20
commit 4d2499c
Showing
1 changed file
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,16 +33,6 @@ jobs: | |
PROJ_DIR=`pwd` | ||
git clone https://github.com/Adyen/adyen-ios.git $FOLDER | ||
cd $FOLDER | ||
echo "Content of adyen-ios" | ||
ls -la | ||
echo "Setup git" | ||
git config user.email "[email protected]" | ||
git config user.name "Public Api Diff" | ||
cd $PROJ_DIR | ||
echo "- Remove existing script" | ||
rm -rf $FOLDER/Scripts/public-api-diff | ||
|
@@ -54,10 +44,17 @@ jobs: | |
echo "Content of `Scripts`" | ||
ls -la $FOLDER/Scripts/ | ||
cd $FOLDER | ||
echo "- Setup git" | ||
git config user.email "[email protected]" | ||
git config user.name "Public Api Diff" | ||
echo "- Commit changes" | ||
git add . | ||
git commit -m "chore: update public-api-diff" | ||
echo "- Push changes" | ||
git push origin $BRANCH_NAME | ||
echo "- Create PR" | ||
gh pr create --body "" --title "chore: update public-api-diff" --head "$BRANCH_NAME" |