-
Notifications
You must be signed in to change notification settings - Fork 31
37 lines (34 loc) · 1.18 KB
/
update_presets.yaml
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
name: 'Update test presets'
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
update:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
- name: Install dart
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 # v1
with:
sdk: 3.5
- name: Setup
run: ./tool/setup.sh
- name: Update presets
run: ./tool/generate-nextcloud-test-presets.sh
- name: Update support table
run: |
cd packages/nextcloud
fvm dart run generate_support_table.dart
- name: Create Pull Request
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7
with:
commit-message: "chore(nextcloud_test): Update presets"
signoff: true
branch: chore/nextcloud_test/update-presets
delete-branch: true
title: "chore(nextcloud_test): Update presets"
body: "`git checkout chore/nextcloud_test/update-presets && git commit --amend -s --no-edit && git push -f` locally to trigger the CI."