Merge branch 'main' into staging

This commit is contained in:
David Benque 2025-07-31 10:41:46 +01:00
commit 6820c85245
No known key found for this signature in database
GPG Key ID: 7EC3E5D34DCCC0BF
3 changed files with 31 additions and 4 deletions

View File

@ -89,10 +89,9 @@ body:
label: Version
description: What version of CryptPad are you running?
options:
- 2025.6.0
- 2025.3.1
- 2025.3.0
- 2024.12.0
- 2024.9.1
- 2024.9.0
- Other
validations:
required: true

28
.github/workflows/test-trigger.yml vendored Normal file
View File

@ -0,0 +1,28 @@
# SPDX-FileCopyrightText: 2025 2023 XWiki CryptPad Team <contact@cryptpad.org> and contributors
#
# SPDX-License-Identifier: AGPL-3.0-or-later
name: Trigger E2E tests
on:
push:
branches: [ staging ]
jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Trigger E2E test run - local and remote
run: |
repo_owner="cryptpad"
repo_name="e2e-test-suite"
event_type="trigger-e2e-tests"
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.TEST_PAT }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/cryptpad/e2e-test-suite/dispatches \
-d "{\"event_type\": \"$event_type\", \"client_payload\": {\"service\": \"$service\", \"version\": \"$version\", \"unit\": false, \"integration\": true}}"

View File

@ -1,4 +1,4 @@
!/bin/sh
#!/bin/sh
# $FreeBSD$
# PROVIDE: cryptpad
# REQUIRE: DAEMON nginx