Update test presets #708
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 'Update test presets' | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| jobs: | |
| update: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install dart | |
| uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c # v1 | |
| with: | |
| sdk: 3.7 | |
| - name: Setup | |
| run: ./tool/setup.sh | |
| - name: Update presets | |
| run: ./tool/generate-nextcloud-test-presets.sh | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7 | |
| with: | |
| commit-message: "chore(nextcloud_test_presets): Update presets" | |
| signoff: true | |
| branch: chore/nextcloud_test_presets/update-presets | |
| delete-branch: true | |
| title: "chore(nextcloud_test_presets): Update presets" | |
| body: "`git checkout chore/nextcloud_test_presets/update-presets && git commit --amend -s --no-edit && git push -f` locally to trigger the CI." |