mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-12 13:16:10 +03:00
32 lines
1,007 B
YAML
32 lines
1,007 B
YAML
# Re-fetches the Jitsi SDK and opens a PR to update it if it's different from what's in the repository
|
|
name: Update Jitsi
|
|
on:
|
|
workflow_dispatch: {}
|
|
schedule:
|
|
- cron: "0 3 * * 0" # 3am every Sunday
|
|
jobs:
|
|
update:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
cache: "yarn"
|
|
node-version: "lts/*"
|
|
|
|
- name: Install Deps
|
|
run: "yarn install --frozen-lockfile"
|
|
|
|
- name: Fetch Jitsi
|
|
run: "yarn update:jitsi"
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@4320041ed380b20e97d388d56a7fb4f9b8c20e79 # v7
|
|
with:
|
|
token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
branch: actions/jitsi-update
|
|
delete-branch: true
|
|
title: Jitsi Update
|
|
labels: |
|
|
T-Task
|