forked from matrix-org/matrix-js-sdk
-
Notifications
You must be signed in to change notification settings - Fork 5
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
08a9073
commit 349c2c2
Showing
239 changed files
with
22,143 additions
and
22,067 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"github>matrix-org/renovate-config-element-web" | ||
] | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": ["github>matrix-org/renovate-config-element-web"] | ||
} |
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 |
---|---|---|
@@ -1,30 +1,30 @@ | ||
name: Backport | ||
on: | ||
pull_request_target: | ||
types: | ||
- closed | ||
- labeled | ||
branches: | ||
- develop | ||
pull_request_target: | ||
types: | ||
- closed | ||
- labeled | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
backport: | ||
name: Backport | ||
runs-on: ubuntu-latest | ||
# Only react to merged PRs for security reasons. | ||
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target. | ||
if: > | ||
github.event.pull_request.merged | ||
&& ( | ||
github.event.action == 'closed' | ||
|| ( | ||
github.event.action == 'labeled' | ||
&& contains(github.event.label.name, 'backport') | ||
) | ||
) | ||
steps: | ||
- uses: tibdex/backport@v2 | ||
with: | ||
labels_template: "<%= JSON.stringify([...labels, 'X-Release-Blocker']) %>" | ||
# We can't use GITHUB_TOKEN here or CI won't run on the new PR | ||
github_token: ${{ secrets.ELEMENT_BOT_TOKEN }} | ||
backport: | ||
name: Backport | ||
runs-on: ubuntu-latest | ||
# Only react to merged PRs for security reasons. | ||
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target. | ||
if: > | ||
github.event.pull_request.merged | ||
&& ( | ||
github.event.action == 'closed' | ||
|| ( | ||
github.event.action == 'labeled' | ||
&& contains(github.event.label.name, 'backport') | ||
) | ||
) | ||
steps: | ||
- uses: tibdex/backport@v2 | ||
with: | ||
labels_template: "<%= JSON.stringify([...labels, 'X-Release-Blocker']) %>" | ||
# We can't use GITHUB_TOKEN here or CI won't run on the new PR | ||
github_token: ${{ secrets.ELEMENT_BOT_TOKEN }} |
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 |
---|---|---|
@@ -1,34 +1,34 @@ | ||
name: Deploy documentation PR preview | ||
|
||
on: | ||
workflow_run: | ||
workflows: [ "Static Analysis" ] | ||
types: | ||
- completed | ||
workflow_run: | ||
workflows: ["Static Analysis"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
netlify: | ||
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request' | ||
runs-on: ubuntu-latest | ||
steps: | ||
# There's a 'download artifact' action, but it hasn't been updated for the workflow_run action | ||
# (https://github.com/actions/download-artifact/issues/60) so instead we get this mess: | ||
- name: 📥 Download artifact | ||
uses: dawidd6/action-download-artifact@e6e25ac3a2b93187502a8be1ef9e9603afc34925 # v2.24.2 | ||
with: | ||
workflow: static_analysis.yml | ||
run_id: ${{ github.event.workflow_run.id }} | ||
name: docs | ||
path: docs | ||
netlify: | ||
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request' | ||
runs-on: ubuntu-latest | ||
steps: | ||
# There's a 'download artifact' action, but it hasn't been updated for the workflow_run action | ||
# (https://github.com/actions/download-artifact/issues/60) so instead we get this mess: | ||
- name: 📥 Download artifact | ||
uses: dawidd6/action-download-artifact@e6e25ac3a2b93187502a8be1ef9e9603afc34925 # v2.24.2 | ||
with: | ||
workflow: static_analysis.yml | ||
run_id: ${{ github.event.workflow_run.id }} | ||
name: docs | ||
path: docs | ||
|
||
- name: 📤 Deploy to Netlify | ||
uses: matrix-org/netlify-pr-preview@v1 | ||
with: | ||
path: docs | ||
owner: ${{ github.event.workflow_run.head_repository.owner.login }} | ||
branch: ${{ github.event.workflow_run.head_branch }} | ||
revision: ${{ github.event.workflow_run.head_sha }} | ||
token: ${{ secrets.NETLIFY_AUTH_TOKEN }} | ||
site_id: ${{ secrets.NETLIFY_SITE_ID }} | ||
desc: Documentation preview | ||
deployment_env: PR Documentation Preview | ||
- name: 📤 Deploy to Netlify | ||
uses: matrix-org/netlify-pr-preview@v1 | ||
with: | ||
path: docs | ||
owner: ${{ github.event.workflow_run.head_repository.owner.login }} | ||
branch: ${{ github.event.workflow_run.head_branch }} | ||
revision: ${{ github.event.workflow_run.head_sha }} | ||
token: ${{ secrets.NETLIFY_AUTH_TOKEN }} | ||
site_id: ${{ secrets.NETLIFY_SITE_ID }} | ||
desc: Documentation preview | ||
deployment_env: PR Documentation Preview |
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 |
---|---|---|
@@ -1,27 +1,27 @@ | ||
name: Notify Downstream Projects | ||
on: | ||
push: | ||
branches: [ develop ] | ||
push: | ||
branches: [develop] | ||
concurrency: ${{ github.workflow }}-${{ github.ref }} | ||
jobs: | ||
notify-downstream: | ||
# Only respect triggers from our develop branch, ignore that of forks | ||
if: github.repository == 'matrix-org/matrix-js-sdk' | ||
continue-on-error: true | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- repo: vector-im/element-web | ||
event: element-web-notify | ||
- repo: matrix-org/matrix-react-sdk | ||
event: upstream-sdk-notify | ||
notify-downstream: | ||
# Only respect triggers from our develop branch, ignore that of forks | ||
if: github.repository == 'matrix-org/matrix-js-sdk' | ||
continue-on-error: true | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- repo: vector-im/element-web | ||
event: element-web-notify | ||
- repo: matrix-org/matrix-react-sdk | ||
event: upstream-sdk-notify | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Notify matrix-react-sdk repo that a new SDK build is on develop so it can CI against it | ||
uses: peter-evans/repository-dispatch@v2 | ||
with: | ||
token: ${{ secrets.ELEMENT_BOT_TOKEN }} | ||
repository: ${{ matrix.repo }} | ||
event-type: ${{ matrix.event }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Notify matrix-react-sdk repo that a new SDK build is on develop so it can CI against it | ||
uses: peter-evans/repository-dispatch@v2 | ||
with: | ||
token: ${{ secrets.ELEMENT_BOT_TOKEN }} | ||
repository: ${{ matrix.repo }} | ||
event-type: ${{ matrix.event }} |
Oops, something went wrong.