Skip to content

Update test presets #340

Update test presets

Update test presets #340

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."