Skip to content

Commit 7ff65ff

Browse files
authored
Merge branch 'master' into add-mjml-to-recommended-vscode-extensions
2 parents d7d51eb + d0d06d1 commit 7ff65ff

File tree

183 files changed

+11343
-14211
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

183 files changed

+11343
-14211
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,25 @@ updates:
77
interval: daily
88
commit-message:
99
prefix:
10+
labels: [dependencies, internal]
1011
# Python uv
1112
- package-ecosystem: uv
12-
directory: /backend
13+
directory: /
1314
schedule:
14-
interval: daily
15+
interval: weekly
1516
commit-message:
1617
prefix:
17-
# npm
18-
- package-ecosystem: npm
19-
directory: /frontend
18+
labels: [dependencies, internal]
19+
# bun
20+
- package-ecosystem: bun
21+
directory: /
2022
schedule:
21-
interval: daily
23+
interval: weekly
2224
commit-message:
2325
prefix:
26+
labels: [dependencies, internal]
27+
ignore:
28+
- dependency-name: "@hey-api/openapi-ts"
2429
# Docker
2530
- package-ecosystem: docker
2631
directories:
@@ -30,10 +35,12 @@ updates:
3035
interval: weekly
3136
commit-message:
3237
prefix:
38+
labels: [dependencies, internal]
3339
# Docker Compose
3440
- package-ecosystem: docker-compose
3541
directory: /
3642
schedule:
3743
interval: weekly
3844
commit-message:
3945
prefix:
46+
labels: [dependencies, internal]

.github/workflows/deploy-production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ jobs:
2727
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v5
30+
uses: actions/checkout@v6
3131
- run: docker compose -f docker-compose.yml --project-name ${{ secrets.STACK_NAME_PRODUCTION }} build
3232
- run: docker compose -f docker-compose.yml --project-name ${{ secrets.STACK_NAME_PRODUCTION }} up -d

.github/workflows/deploy-staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ jobs:
2727
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v5
30+
uses: actions/checkout@v6
3131
- run: docker compose -f docker-compose.yml --project-name ${{ secrets.STACK_NAME_STAGING }} build
3232
- run: docker compose -f docker-compose.yml --project-name ${{ secrets.STACK_NAME_STAGING }} up -d
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: "Conflict detector"
2+
on:
3+
push:
4+
pull_request_target:
5+
types: [synchronize]
6+
7+
jobs:
8+
main:
9+
permissions:
10+
contents: read
11+
pull-requests: write
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Check if PRs have merge conflicts
15+
uses: eps1lon/actions-label-merge-conflict@v3
16+
with:
17+
dirtyLabel: "conflicts"
18+
repoToken: "${{ secrets.GITHUB_TOKEN }}"
19+
commentOnDirty: "This pull request has a merge conflict that needs to be resolved."

.github/workflows/generate-client.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,24 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
# For PRs from forks
16-
- uses: actions/checkout@v5
16+
- uses: actions/checkout@v6
1717
# For PRs from the same repo
18-
- uses: actions/checkout@v5
18+
- uses: actions/checkout@v6
1919
if: ( github.event_name != 'pull_request' || github.secret_source == 'Actions' )
2020
with:
2121
ref: ${{ github.head_ref }}
2222
token: ${{ secrets.FULL_STACK_FASTAPI_TEMPLATE_REPO_TOKEN }}
23-
- uses: actions/setup-node@v4
24-
with:
25-
node-version: lts/*
26-
- uses: actions/setup-python@v5
23+
- uses: oven-sh/setup-bun@v2
24+
- uses: actions/setup-python@v6
2725
with:
2826
python-version: "3.10"
2927
- name: Install uv
30-
uses: astral-sh/setup-uv@v6
28+
uses: astral-sh/setup-uv@v7
3129
with:
3230
version: "0.4.15"
3331
enable-cache: true
3432
- name: Install dependencies
35-
run: npm ci
36-
working-directory: frontend
33+
run: bun ci
3734
- run: uv sync
3835
working-directory: backend
3936
- run: uv run bash scripts/generate-client.sh

.github/workflows/issue-manager.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
env:
2828
GITHUB_CONTEXT: ${{ toJson(github) }}
2929
run: echo "$GITHUB_CONTEXT"
30-
- uses: tiangolo/issue-manager@0.5.1
30+
- uses: tiangolo/issue-manager@0.6.0
3131
with:
3232
token: ${{ secrets.GITHUB_TOKEN }}
3333
config: >
@@ -38,7 +38,11 @@ jobs:
3838
},
3939
"waiting": {
4040
"delay": 2628000,
41-
"message": "As this PR has been waiting for the original user for a while but seems to be inactive, it's now going to be closed. But if there's anyone interested, feel free to create a new PR."
41+
"message": "As this PR has been waiting for the original user for a while but seems to be inactive, it's now going to be closed. But if there's anyone interested, feel free to create a new PR.",
42+
"reminder": {
43+
"before": "P3D",
44+
"message": "Heads-up: this will be closed in 3 days unless there's new activity."
45+
}
4246
},
4347
"invalid": {
4448
"delay": 0,

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
pull-requests: write
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/labeler@v5
19+
- uses: actions/labeler@v6
2020
if: ${{ github.event.action != 'labeled' && github.event.action != 'unlabeled' }}
2121
- run: echo "Done adding labels"
2222
# Run this after labeler applied labels

.github/workflows/latest-changes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
env:
2727
GITHUB_CONTEXT: ${{ toJson(github) }}
2828
run: echo "$GITHUB_CONTEXT"
29-
- uses: actions/checkout@v5
29+
- uses: actions/checkout@v6
3030
with:
3131
# To allow latest-changes to commit to the main branch
3232
token: ${{ secrets.LATEST_CHANGES }}
33-
- uses: tiangolo/latest-changes@0.4.0
33+
- uses: tiangolo/latest-changes@0.4.1
3434
with:
3535
token: ${{ secrets.GITHUB_TOKEN }}
3636
latest_changes_file: ./release-notes.md

.github/workflows/lint-backend.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/playwright.yml

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
outputs:
2323
changed: ${{ steps.filter.outputs.changed }}
2424
steps:
25-
- uses: actions/checkout@v5
25+
- uses: actions/checkout@v6
2626
# For pull requests it's not necessary to checkout the code but for the main branch it is
2727
- uses: dorny/paths-filter@v3
2828
id: filter
@@ -47,11 +47,9 @@ jobs:
4747
shardTotal: [4]
4848
fail-fast: false
4949
steps:
50-
- uses: actions/checkout@v5
51-
- uses: actions/setup-node@v4
52-
with:
53-
node-version: lts/*
54-
- uses: actions/setup-python@v5
50+
- uses: actions/checkout@v6
51+
- uses: oven-sh/setup-bun@v2
52+
- uses: actions/setup-python@v6
5553
with:
5654
python-version: '3.10'
5755
- name: Setup tmate session
@@ -60,25 +58,25 @@ jobs:
6058
with:
6159
limit-access-to-actor: true
6260
- name: Install uv
63-
uses: astral-sh/setup-uv@v6
61+
uses: astral-sh/setup-uv@v7
6462
with:
6563
version: "0.4.15"
6664
enable-cache: true
6765
- run: uv sync
6866
working-directory: backend
69-
- run: npm ci
67+
- run: bun ci
7068
working-directory: frontend
7169
- run: uv run bash scripts/generate-client.sh
7270
env:
7371
VIRTUAL_ENV: backend/.venv
7472
- run: docker compose build
7573
- run: docker compose down -v --remove-orphans
7674
- name: Run Playwright tests
77-
run: docker compose run --rm playwright npx playwright test --fail-on-flaky-tests --trace=retain-on-failure --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
75+
run: docker compose run --rm playwright bunx playwright test --fail-on-flaky-tests --trace=retain-on-failure --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
7876
- run: docker compose down -v --remove-orphans
7977
- name: Upload blob report to GitHub Actions Artifacts
8078
if: ${{ !cancelled() }}
81-
uses: actions/upload-artifact@v4
79+
uses: actions/upload-artifact@v6
8280
with:
8381
name: blob-report-${{ matrix.shardIndex }}
8482
path: frontend/blob-report
@@ -93,24 +91,21 @@ jobs:
9391
if: ${{ !cancelled() && needs.changes.outputs.changed == 'true' }}
9492
runs-on: ubuntu-latest
9593
steps:
96-
- uses: actions/checkout@v5
97-
- uses: actions/setup-node@v4
98-
with:
99-
node-version: 20
94+
- uses: actions/checkout@v6
95+
- uses: oven-sh/setup-bun@v2
10096
- name: Install dependencies
101-
run: npm ci
102-
working-directory: frontend
97+
run: bun ci
10398
- name: Download blob reports from GitHub Actions Artifacts
104-
uses: actions/download-artifact@v5
99+
uses: actions/download-artifact@v7
105100
with:
106101
path: frontend/all-blob-reports
107102
pattern: blob-report-*
108103
merge-multiple: true
109104
- name: Merge into HTML Report
110-
run: npx playwright merge-reports --reporter html ./all-blob-reports
105+
run: bunx playwright merge-reports --reporter html ./all-blob-reports
111106
working-directory: frontend
112107
- name: Upload HTML report
113-
uses: actions/upload-artifact@v4
108+
uses: actions/upload-artifact@v6
114109
with:
115110
name: html-report--attempt-${{ github.run_attempt }}
116111
path: frontend/playwright-report

0 commit comments

Comments
 (0)