-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retain commit authors for split monorepo
- Loading branch information
1 parent
0d1280c
commit 93c1670
Showing
1 changed file
with
28 additions
and
14 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 |
---|---|---|
|
@@ -65,15 +65,17 @@ jobs: | |
- name: Commit and push changes | ||
env: | ||
COMMIT_MESSAGE: ${{ github.event.head_commit.message }} | ||
COMMIT_AUTHOR_NAME: ${{ github.event.head_commit.author.name }} | ||
COMMIT_AUTHOR_EMAIL: ${{ github.event.head_commit.author.email }} | ||
run: | | ||
cd hyde | ||
if ! [[ `git status --porcelain` ]]; then | ||
echo "No changes to this package. Exiting gracefully."; | ||
exit 0; | ||
fi | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git config user.name "$COMMIT_AUTHOR_NAME" | ||
git config user.email "$COMMIT_AUTHOR_EMAIL" | ||
git remote add upstream https://oauth2:${{ secrets.SPLIT_MONOREPO_TOKEN }}@github.com/hydephp/hyde.git | ||
git add . | ||
|
@@ -114,15 +116,17 @@ jobs: | |
- name: Commit and push changes | ||
env: | ||
COMMIT_MESSAGE: ${{ github.event.head_commit.message }} | ||
COMMIT_AUTHOR_NAME: ${{ github.event.head_commit.author.name }} | ||
COMMIT_AUTHOR_EMAIL: ${{ github.event.head_commit.author.email }} | ||
run: | | ||
cd framework | ||
if ! [[ `git status --porcelain` ]]; then | ||
echo "No changes to this package. Exiting gracefully."; | ||
exit 0; | ||
fi | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git config user.name "$COMMIT_AUTHOR_NAME" | ||
git config user.email "$COMMIT_AUTHOR_EMAIL" | ||
git remote add upstream https://oauth2:${{ secrets.SPLIT_MONOREPO_TOKEN }}@github.com/hydephp/framework.git | ||
git add . | ||
|
@@ -163,15 +167,17 @@ jobs: | |
- name: Commit and push changes | ||
env: | ||
COMMIT_MESSAGE: ${{ github.event.head_commit.message }} | ||
COMMIT_AUTHOR_NAME: ${{ github.event.head_commit.author.name }} | ||
COMMIT_AUTHOR_EMAIL: ${{ github.event.head_commit.author.email }} | ||
run: | | ||
cd realtime-compiler | ||
if ! [[ `git status --porcelain` ]]; then | ||
echo "No changes to this package. Exiting gracefully."; | ||
exit 0; | ||
fi | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git config user.name "$COMMIT_AUTHOR_NAME" | ||
git config user.email "$COMMIT_AUTHOR_EMAIL" | ||
git remote add upstream https://oauth2:${{ secrets.SPLIT_MONOREPO_TOKEN }}@github.com/hydephp/realtime-compiler.git | ||
git add . | ||
|
@@ -211,15 +217,17 @@ jobs: | |
- name: Commit and push changes | ||
env: | ||
COMMIT_MESSAGE: ${{ github.event.head_commit.message }} | ||
COMMIT_AUTHOR_NAME: ${{ github.event.head_commit.author.name }} | ||
COMMIT_AUTHOR_EMAIL: ${{ github.event.head_commit.author.email }} | ||
run: | | ||
cd hydefront | ||
if ! [[ `git status --porcelain` ]]; then | ||
echo "No changes to this package. Exiting gracefully."; | ||
exit 0; | ||
fi | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git config user.name "$COMMIT_AUTHOR_NAME" | ||
git config user.email "$COMMIT_AUTHOR_EMAIL" | ||
git remote add upstream https://oauth2:${{ secrets.SPLIT_MONOREPO_TOKEN }}@github.com/hydephp/hydefront.git | ||
git add . | ||
|
@@ -263,15 +271,17 @@ jobs: | |
- name: Commit and push changes | ||
env: | ||
COMMIT_MESSAGE: ${{ github.event.head_commit.message }} | ||
COMMIT_AUTHOR_NAME: ${{ github.event.head_commit.author.name }} | ||
COMMIT_AUTHOR_EMAIL: ${{ github.event.head_commit.author.email }} | ||
run: | | ||
cd website | ||
if ! [[ `git status --porcelain` ]]; then | ||
echo "No changes to this package. Exiting gracefully."; | ||
exit 0; | ||
fi | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git config user.name "$COMMIT_AUTHOR_NAME" | ||
git config user.email "$COMMIT_AUTHOR_EMAIL" | ||
git remote add upstream https://oauth2:${{ secrets.SPLIT_MONOREPO_TOKEN }}@github.com/hydephp/hydephp.com.git | ||
git add . | ||
|
@@ -312,15 +322,17 @@ jobs: | |
- name: Commit and push changes | ||
env: | ||
COMMIT_MESSAGE: ${{ github.event.head_commit.message }} | ||
COMMIT_AUTHOR_NAME: ${{ github.event.head_commit.author.name }} | ||
COMMIT_AUTHOR_EMAIL: ${{ github.event.head_commit.author.email }} | ||
run: | | ||
cd testing | ||
if ! [[ `git status --porcelain` ]]; then | ||
echo "No changes to this package. Exiting gracefully."; | ||
exit 0; | ||
fi | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git config user.name "$COMMIT_AUTHOR_NAME" | ||
git config user.email "$COMMIT_AUTHOR_EMAIL" | ||
git remote add upstream https://oauth2:${{ secrets.SPLIT_MONOREPO_TOKEN }}@github.com/hydephp/testing.git | ||
git add . | ||
|
@@ -360,6 +372,8 @@ jobs: | |
- name: Commit and push changes | ||
env: | ||
COMMIT_MESSAGE: ${{ github.event.head_commit.message }} | ||
COMMIT_AUTHOR_NAME: ${{ github.event.head_commit.author.name }} | ||
COMMIT_AUTHOR_EMAIL: ${{ github.event.head_commit.author.email }} | ||
run: | | ||
cd ui-kit | ||
|
@@ -368,8 +382,8 @@ jobs: | |
exit 0; | ||
fi | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git config user.name "$COMMIT_AUTHOR_NAME" | ||
git config user.email "$COMMIT_AUTHOR_EMAIL" | ||
git remote add upstream https://oauth2:${{ secrets.SPLIT_MONOREPO_TOKEN }}@github.com/hydephp/ui-kit.git | ||
git add . | ||
|