34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
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
|
|
permissions: {} # We use ELEMENT_BOT_TOKEN instead
|
|
jobs:
|
|
update:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
|
|
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # 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@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
|
|
with:
|
|
token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
branch: actions/jitsi-update
|
|
delete-branch: true
|
|
title: Jitsi Update
|
|
labels: |
|
|
T-Task
|