-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (34 loc) · 1.14 KB
/
update_packages.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Update Packages
on:
workflow_dispatch:
workflow_call:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Checkout CoreELEC/LibreELEC
run: |
git submodule update --init -- CoreELEC
git submodule update --init -- LibreELEC.tv
- name: Update packages
run: |
./update.sh -p > commit.body.full
./update.sh -s _cefbrowser >> commit.body.full
./update.sh -s _remotetranscode >> commit.body.full
./update.sh -s _vtuner-ng >> commit.body.full
cat commit.body.full | grep -v "no update available" | grep -v -i "skipped" | grep -v "Try update" | grep -v "checking" > commit.body
rm commit.body.full
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
commit-message: Update packages
branch: bot-update-packages
delete-branch: true
title: '[Bot] Update packages'
body-path: commit.body
labels: |
automated pull request
draft: false