forked from element-hq/element-web
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
365af17
commit 703d864
Showing
16 changed files
with
3,994 additions
and
3,339 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
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
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
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
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
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
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 |
---|---|---|
|
@@ -25,9 +25,6 @@ on: | |
jobs: | ||
prepare: | ||
runs-on: ubuntu-latest | ||
env: | ||
# The order is specified bottom-up to avoid any races for allchange | ||
REPOS: matrix-js-sdk matrix-react-sdk element-web element-desktop | ||
steps: | ||
- name: Checkout Element Desktop | ||
uses: actions/checkout@v4 | ||
|
@@ -70,55 +67,14 @@ jobs: | |
fetch-tags: true | ||
token: ${{ secrets.ELEMENT_BOT_TOKEN }} | ||
|
||
- name: Resolve repos | ||
run: | | ||
echo "REPOS=$(ls . | tr '\n' ' ')" >> $GITHUB_ENV | ||
- name: Merge develop | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "RiotRobot" | ||
for REPO in $REPOS; do [ -d "$REPO" ] && git -C "$REPO" merge origin/develop; done | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "RiotRobot" | ||
for REPO in $REPOS; do git -C "$REPO" merge origin/develop; done | ||
- name: Push staging | ||
run: for REPO in $REPOS; do [ -d "$REPO" ] && git -C "$REPO" push origin staging; done | ||
|
||
- name: Wait for matrix-js-sdk draft | ||
if: inputs.matrix-js-sdk | ||
uses: t3chguy/wait-on-check-action@18541021811b56544d90e0f073401c2b99e249d6 # fork | ||
with: | ||
ref: staging | ||
repo: matrix-org/matrix-js-sdk | ||
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }} | ||
wait-interval: 10 | ||
check-name: draft | ||
allowed-conclusions: success | ||
|
||
- name: Wait for matrix-react-sdk draft | ||
if: inputs.matrix-react-sdk | ||
uses: t3chguy/wait-on-check-action@18541021811b56544d90e0f073401c2b99e249d6 # fork | ||
with: | ||
ref: staging | ||
repo: matrix-org/matrix-react-sdk | ||
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }} | ||
wait-interval: 10 | ||
check-name: draft | ||
allowed-conclusions: success | ||
|
||
- name: Wait for element-web draft | ||
if: inputs.element-web | ||
uses: t3chguy/wait-on-check-action@18541021811b56544d90e0f073401c2b99e249d6 # fork | ||
with: | ||
ref: staging | ||
repo: element-hq/element-web | ||
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }} | ||
wait-interval: 10 | ||
check-name: draft | ||
allowed-conclusions: success | ||
|
||
- name: Wait for element-desktop draft | ||
if: inputs.element-desktop | ||
uses: t3chguy/wait-on-check-action@18541021811b56544d90e0f073401c2b99e249d6 # fork | ||
with: | ||
ref: staging | ||
repo: element-hq/element-desktop | ||
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }} | ||
wait-interval: 10 | ||
check-name: draft | ||
allowed-conclusions: success | ||
run: for REPO in $REPOS; do git -C "$REPO" push origin staging; done |
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
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
Oops, something went wrong.