forked from matrix-org/matrix-react-sdk
-
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.
Merge tag 'tags/v3.109.0' into jts/verji-develop-final-sync
- Loading branch information
Showing
813 changed files
with
31,022 additions
and
18,638 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
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Update Playwright docker images | ||
on: | ||
workflow_dispatch: {} | ||
schedule: | ||
- cron: "0 6 * * *" # Every day at 6am UTC | ||
jobs: | ||
update: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Update synapse image | ||
run: | | ||
docker pull "$IMAGE" | ||
INSPECT=$(docker inspect --format='{{index .RepoDigests 0}}' "$IMAGE") | ||
DIGEST=${INSPECT#*@} | ||
sed -i "s/const DOCKER_TAG.*/const DOCKER_TAG = \"develop@$DIGEST\";/" playwright/plugins/homeserver/synapse/index.ts | ||
env: | ||
IMAGE: ghcr.io/element-hq/synapse:develop | ||
|
||
- name: Create Pull Request | ||
id: cpr | ||
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6 | ||
with: | ||
token: ${{ secrets.ELEMENT_BOT_TOKEN }} | ||
branch: actions/playwright-image-updates | ||
delete-branch: true | ||
title: Playwright Docker image updates | ||
labels: | | ||
T-Task | ||
- name: Enable automerge | ||
run: gh pr merge --merge --auto "$PR_NUMBER" | ||
if: steps.cpr.outputs.pull-request-operation == 'created' | ||
env: | ||
GH_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} | ||
PR_NUMBER: ${{ steps.cpr.outputs.pull-request-number }} | ||
|
||
- name: Enable autoapprove | ||
run: | | ||
gh pr review --approve "$PR_NUMBER" | ||
if: steps.cpr.outputs.pull-request-operation == 'created' | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PR_NUMBER: ${{ steps.cpr.outputs.pull-request-number }} |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Pull Request Base Branch | ||
on: | ||
pull_request: | ||
types: [opened, edited, synchronize] | ||
jobs: | ||
check_base_branch: | ||
name: Check PR base branch | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
const baseBranch = context.payload.pull_request.base.ref; | ||
if (!['develop', 'staging'].includes(baseBranch) && !baseBranch.startsWith('feat/')) { | ||
core.setFailed(`Invalid base branch: ${baseBranch}`); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx lint-staged --concurrent false |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"*": "prettier --write", | ||
"*.(ts|tsx|js|jsx)": ["eslint --fix"], | ||
"*.pcss": ["stylelint"] | ||
} |
File renamed without changes.
Oops, something went wrong.