Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): automatic release v0.1.0 #749

Closed
wants to merge 168 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
e448eeb
fix(deps): update dependency @trpc/client to v11.0.0-rc.382 (#568)
homarr-renovate[bot] May 28, 2024
c2185e3
fix: renovate automatic approval typo no file extension (#572)
Meierschlumpf May 29, 2024
9e499bd
fix(deps): update dependency eslint-plugin-react to ^7.34.2 (#567)
homarr-renovate[bot] May 29, 2024
2cb3e95
chore(deps): update node.js to v20.14.0 (#573)
homarr-renovate[bot] May 29, 2024
fe43e74
fix(deps): update dependency flag-icons to ^7.2.3 (#575)
homarr-renovate[bot] May 29, 2024
612b8d8
fix(deps): update dependency mysql2 to v3.9.9 (#576)
homarr-renovate[bot] May 29, 2024
dc7f455
chore(deps): update dependency @types/node to ^20.12.13 (#577)
homarr-renovate[bot] May 29, 2024
e030e06
chore(deps): update actions/checkout action to v4 (#571)
homarr-renovate[bot] May 29, 2024
dd2937a
feat: add docker container table (#520)
ajnart May 29, 2024
169feca
fix(deps): update dependency sass to ^1.77.3 (#579)
homarr-renovate[bot] May 29, 2024
b12d109
fix(deps): update mantine monorepo to ^7.10.1 (#581)
homarr-renovate[bot] May 30, 2024
ec29d77
chore(deps): update pnpm to v9.1.4 (#582)
homarr-renovate[bot] May 30, 2024
6d46e91
fix(deps): update dependency better-sqlite3 to ^10.1.0 (#584)
homarr-renovate[bot] May 30, 2024
ff84c2b
fix(deps): update dependency mysql2 to v3.10.0 (#585)
homarr-renovate[bot] May 30, 2024
79d977c
fix(deps): update dependency sass to ^1.77.4 (#586)
homarr-renovate[bot] May 31, 2024
d16281b
fix(deps): update dependency drizzle-kit to ^0.22.0 (#588)
homarr-renovate[bot] May 31, 2024
3b39e87
fix(deps): update dependency drizzle-orm to ^0.31.0 (#589)
homarr-renovate[bot] May 31, 2024
51fb7cb
fix(deps): update dependency drizzle-kit to ^0.22.1 (#590)
homarr-renovate[bot] May 31, 2024
96150f8
fix(deps): update dependency better-sqlite3 to v11 (#587)
homarr-renovate[bot] May 31, 2024
777473e
chore(deps): update dependency @types/node to ^20.12.14 (#591)
homarr-renovate[bot] May 31, 2024
e832bfb
chore(deps): update dependency @types/node to ^20.13.0 (#592)
homarr-renovate[bot] May 31, 2024
fef070c
fix(deps): update dependency mantine-react-table to v2.0.0-beta.4 (#593)
homarr-renovate[bot] May 31, 2024
b1b839f
fix(deps): update dependency prettier to ^3.3.0 (#594)
homarr-renovate[bot] Jun 1, 2024
26146f4
ci: add automatic release workflow (#583)
manuel-rw Jun 1, 2024
4523083
refactor: clean up workflows (#596)
manuel-rw Jun 1, 2024
7cc2736
fix: default branch for tag compare (#597)
manuel-rw Jun 1, 2024
d08bdf3
ci: fix branch to compare tags (#598)
manuel-rw Jun 1, 2024
4b304c7
ci: fix fetch depth (#599)
manuel-rw Jun 1, 2024
4ff39b2
ci: remove if condition from create PR step
manuel-rw Jun 1, 2024
a6a6734
ci: fix pr number target
manuel-rw Jun 1, 2024
67d4899
ci: add automerge label to create PR step
manuel-rw Jun 1, 2024
2be1ae8
ci: fix pull request description
manuel-rw Jun 1, 2024
04c02d8
chore(deps): update actions/checkout action to v4 (#595)
homarr-renovate[bot] Jun 1, 2024
2e044ac
fix(deps): update dependency @auth/drizzle-adapter to ^1.2.0 (#604)
homarr-renovate[bot] Jun 2, 2024
869efbc
fix(deps): update dependency @trpc/client to v11.0.0-rc.383 (#608)
homarr-renovate[bot] Jun 2, 2024
dc3b007
fix(deps): update dependency @auth/core to ^0.32.0 (#603)
homarr-renovate[bot] Jun 2, 2024
20874cb
fix(deps): update dependency next-auth to v5.0.0-beta.19 (#605)
homarr-renovate[bot] Jun 2, 2024
2b5f873
ci: add rider run configuration (#610)
manuel-rw Jun 2, 2024
812b8d8
fix(deps): update dependency @trpc/client to v11.0.0-rc.390 (#609)
homarr-renovate[bot] Jun 3, 2024
3818326
chore(deps): update dependency @types/node to ^20.14.1 (#613)
homarr-renovate[bot] Jun 4, 2024
d993e8d
fix(deps): update dependency jotai to ^2.8.3 (#615)
homarr-renovate[bot] Jun 4, 2024
710197b
fix(deps): update dependency drizzle-orm to ^0.31.1 (#619)
homarr-renovate[bot] Jun 4, 2024
f5aaf89
fix(deps): update dependency drizzle-kit to ^0.22.2 (#618)
homarr-renovate[bot] Jun 4, 2024
946ea87
fix(deps): update tanstack-query monorepo to ^5.40.1 (#617)
homarr-renovate[bot] Jun 4, 2024
2623708
fix(deps): update typescript-eslint monorepo to ^7.12.0 (#616)
homarr-renovate[bot] Jun 4, 2024
cfd8b32
feat: weather widget scalable (#574)
SeDemal Jun 5, 2024
251cedf
ci: use app instead of personal token (#611)
manuel-rw Jun 6, 2024
f1dbc44
chore(deps): update dependency @types/node to ^20.14.2 (#622)
homarr-renovate[bot] Jun 6, 2024
899060c
chore(deps): update turbo monorepo to ^1.13.4 (#620)
homarr-renovate[bot] Jun 6, 2024
dda34e7
fix(deps): update dependency drizzle-kit to ^0.22.4 (#625)
homarr-renovate[bot] Jun 6, 2024
8f551aa
fix(deps): update dependency prettier to ^3.3.1 (#623)
homarr-renovate[bot] Jun 6, 2024
1aabc4d
chore(deps): update dependency tsx to v4.12.0 (#614)
homarr-renovate[bot] Jun 6, 2024
afa9634
chore(deps): update pnpm to v9.2.0 (#624)
homarr-renovate[bot] Jun 6, 2024
5bf1ddd
fix(deps): update dependency @trpc/client to v11.0.0-rc.394 (#626)
homarr-renovate[bot] Jun 6, 2024
9807855
chore(deps): update dependency tsx to v4.12.1 (#627)
homarr-renovate[bot] Jun 7, 2024
309111c
chore(deps): update dependency tsx to v4.13.0 (#628)
homarr-renovate[bot] Jun 7, 2024
1d6745b
chore(deps): update dependency tsx to v4.13.1 (#629)
homarr-renovate[bot] Jun 7, 2024
493c22f
chore(deps): update dependency tsx to v4.13.2 (#630)
homarr-renovate[bot] Jun 7, 2024
2462726
fix(deps): update dependency drizzle-kit to ^0.22.5 (#631)
homarr-renovate[bot] Jun 7, 2024
efd958d
fix(deps): update dependency drizzle-orm to ^0.31.2 (#632)
homarr-renovate[bot] Jun 7, 2024
475f472
fix(deps): update dependency @trpc/client to v11.0.0-rc.396 (#634)
homarr-renovate[bot] Jun 7, 2024
4de5ab5
chore(deps): update dependency tsx to v4.13.3 (#635)
homarr-renovate[bot] Jun 8, 2024
66ddb45
fix(deps): update dependency drizzle-kit to ^0.22.6 (#636)
homarr-renovate[bot] Jun 8, 2024
a3b861e
chore(deps): update dependency tsx to v4.14.0 (#637)
homarr-renovate[bot] Jun 8, 2024
1f730ab
chore(deps): update turbo monorepo to v2 (major) (#621)
homarr-renovate[bot] Jun 8, 2024
3dca787
chore: configure i18n ally (#606)
ajnart Jun 8, 2024
d7ecdf5
feat: add simple app ping (#580)
Meierschlumpf Jun 8, 2024
1bae735
chore(deps): update dependency eslint to v9 (#452)
homarr-renovate[bot] Jun 8, 2024
38c32cb
fix(deps): update dependency @tanstack/react-query-next-experimental …
homarr-renovate[bot] Jun 8, 2024
fb92c3e
fix: pnpm dev did not work caused by tsx update (#638)
Meierschlumpf Jun 8, 2024
e46ea71
fix: renovate config with json does not support comments (#641)
Meierschlumpf Jun 8, 2024
2c1b52a
fix: gridstack not working (#642)
Meierschlumpf Jun 8, 2024
bac09d8
feat: Clock widget scalability (#644)
SeDemal Jun 8, 2024
3a3a825
feat: improve user init setup (#643)
Meierschlumpf Jun 8, 2024
28927cf
feat: App tile scalability (#645)
SeDemal Jun 9, 2024
0710425
feat: DNS Hole summary Scalability (#646)
SeDemal Jun 9, 2024
84851db
fix(deps): update dependency @trpc/client to v11.0.0-rc.401 (#648)
homarr-renovate[bot] Jun 9, 2024
83b4631
chore(deps): update dependency @vitejs/plugin-react to ^4.3.1 (#650)
homarr-renovate[bot] Jun 10, 2024
6fc27df
chore(deps): update pnpm to v9.3.0 (#651)
homarr-renovate[bot] Jun 10, 2024
d985fbe
fix(deps): update dependency drizzle-kit to ^0.22.7 (#652)
homarr-renovate[bot] Jun 10, 2024
1949885
fix(deps): update dependency typescript-eslint to ^7.13.0 (#653)
homarr-renovate[bot] Jun 10, 2024
2e782ae
feat: add homeassistant integration (#578)
manuel-rw Jun 10, 2024
8e4ba37
fix: login with revalidate path and wrong preferences link (#654)
Meierschlumpf Jun 10, 2024
c627384
test: add pi-hole test container integration test (#649)
Meierschlumpf Jun 10, 2024
9cab001
chore: improve importing of some packages (#647)
Meierschlumpf Jun 10, 2024
d69cda0
fix(deps): update dependency prettier to ^3.3.2 (#656)
homarr-renovate[bot] Jun 11, 2024
8b3bc03
fix(deps): update tanstack-query monorepo to ^5.44.0 (#657)
homarr-renovate[bot] Jun 11, 2024
476fa59
fix(deps): update nextjs monorepo to ^14.2.4 (#658)
homarr-renovate[bot] Jun 11, 2024
f5f6388
fix(deps): update dependency sass to ^1.77.5 (#659)
homarr-renovate[bot] Jun 12, 2024
5547e52
fix(deps): update tanstack-query monorepo to ^5.45.0 (#660)
homarr-renovate[bot] Jun 12, 2024
37ebcfe
fix(deps): update dependency mantine-react-table to v2.0.0-beta.5 (#661)
homarr-renovate[bot] Jun 13, 2024
4e9593b
fix(deps): update mantine monorepo to ^7.10.2 (#662)
homarr-renovate[bot] Jun 13, 2024
e4c6864
fix(deps): update dependency @tabler/icons-react to ^3.6.0 (#664)
homarr-renovate[bot] Jun 13, 2024
10acb2b
fix(deps): update dependency mysql2 to v3.10.1 (#665)
homarr-renovate[bot] Jun 13, 2024
856cb2d
chore(deps): update turbo monorepo to ^2.0.4 (#666)
homarr-renovate[bot] Jun 14, 2024
8b4cc5b
chore(deps): update dependency eslint to ^9.5.0 (#668)
homarr-renovate[bot] Jun 14, 2024
25f8564
chore: change turbo ui to stream because the other one is unusable (#…
Meierschlumpf Jun 15, 2024
0d14bad
fix(deps): update dependency ws to ^8.17.1 (#676)
homarr-renovate[bot] Jun 16, 2024
e957c6b
fix: icon selector is a select not an autocomplete #515 (#675)
Meierschlumpf Jun 16, 2024
f358c33
fix: missing translations for apps / integrations #438 (#674)
Meierschlumpf Jun 16, 2024
33e8cc7
fix(deps): update tanstack-query monorepo to ^5.45.1 (#677)
homarr-renovate[bot] Jun 16, 2024
727f972
chore(deps): update pnpm to v9.4.0 (#680)
homarr-renovate[bot] Jun 17, 2024
e9d6120
fix(deps): update dependency typescript-eslint to ^7.13.1 (#681)
homarr-renovate[bot] Jun 17, 2024
05690cc
chore(deps): update dependency @types/node to ^20.14.3 (#682)
homarr-renovate[bot] Jun 17, 2024
4526fa6
fix(deps): update dependency sass to ^1.77.6 (#683)
homarr-renovate[bot] Jun 17, 2024
f96e25c
chore(deps): update dependency @types/node to ^20.14.4 (#685)
homarr-renovate[bot] Jun 18, 2024
64fe061
chore(deps): update dependency @types/node to ^20.14.5 (#686)
homarr-renovate[bot] Jun 18, 2024
86b4941
chore(deps): update docker/build-push-action action to v6 (#679)
homarr-renovate[bot] Jun 18, 2024
fdcf3a8
fix(deps): update dependency eslint-plugin-react to ^7.34.3 (#688)
homarr-renovate[bot] Jun 18, 2024
0bfc0c5
fix(deps): update dependency glob to ^10.4.2 (#689)
homarr-renovate[bot] Jun 19, 2024
bf60734
chore(deps): update dependency @types/node to ^20.14.6 (#690)
homarr-renovate[bot] Jun 19, 2024
508369c
feat: add undici fetch interceptor (#687)
manuel-rw Jun 19, 2024
541d745
fix(deps): update dependency undici to v6.19.2 (#691)
homarr-renovate[bot] Jun 19, 2024
171fe40
fix(deps): update dependency @auth/core to ^0.33.0 (#693)
homarr-renovate[bot] Jun 20, 2024
4291bde
fix(deps): update dependency @auth/drizzle-adapter to ^1.3.0 (#694)
homarr-renovate[bot] Jun 20, 2024
d78b581
fix(deps): update dependency eslint-plugin-jsx-a11y to ^6.9.0 (#695)
homarr-renovate[bot] Jun 20, 2024
21a2db6
chore(deps): update dependency node to v20.15.0 (#696)
homarr-renovate[bot] Jun 20, 2024
d5f4bd0
chore(deps): update dependency typescript to ^5.5.2 (#697)
homarr-renovate[bot] Jun 20, 2024
7b31433
chore(deps): update dependency @types/node to ^20.14.7 (#698)
homarr-renovate[bot] Jun 20, 2024
8d7a7bc
fix(deps): update dependency @tanstack/react-query-next-experimental …
homarr-renovate[bot] Jun 21, 2024
9087f4b
fix(deps): update dependency @auth/core to ^0.34.0 (#700)
homarr-renovate[bot] Jun 21, 2024
05702be
fix(deps): update dependency @auth/core to ^0.34.1 (#702)
homarr-renovate[bot] Jun 21, 2024
324a643
fix(deps): update dependency @auth/drizzle-adapter to ^1.4.1 (#701)
homarr-renovate[bot] Jun 21, 2024
af0b986
chore(deps): update dependency @types/node to ^20.14.8 (#703)
homarr-renovate[bot] Jun 22, 2024
ea12da9
chore(deps): update dependency testcontainers to ^10.10.0 (#705)
homarr-renovate[bot] Jun 22, 2024
92afd82
refactor: add cron job core package (#704)
Meierschlumpf Jun 22, 2024
f92aeba
feat: test integration connection (#669)
Meierschlumpf Jun 22, 2024
6029a5b
style: improve mobile compatibility of certain manage pages (#678)
Meierschlumpf Jun 22, 2024
a2140d0
chore(deps): update node.js to v20.15.0 (#710)
homarr-renovate[bot] Jun 24, 2024
fab69c1
chore(deps): update turbo monorepo to ^2.0.5 (#711)
homarr-renovate[bot] Jun 24, 2024
196ac34
fix(deps): update dependency typescript-eslint to ^7.14.1 (#709)
homarr-renovate[bot] Jun 24, 2024
75748df
fix(deps): update tanstack-query monorepo to ^5.47.0 (#713)
homarr-renovate[bot] Jun 25, 2024
a76e941
fix(deps): update tanstack-query monorepo to ^5.48.0 (#714)
homarr-renovate[bot] Jun 25, 2024
6a3a846
fix(deps): update dependency @tabler/icons-react to ^3.7.0 (#715)
homarr-renovate[bot] Jun 25, 2024
988ec6b
chore(deps): update dependency @types/node to ^20.14.9 (#717)
homarr-renovate[bot] Jun 25, 2024
c4b54ed
fix: open navigation item by default (#716)
manuel-rw Jun 26, 2024
7a14c25
fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to ^…
homarr-renovate[bot] Jun 26, 2024
52e936f
fix(deps): update mantine monorepo to ^7.11.0 (#719)
homarr-renovate[bot] Jun 26, 2024
c8d4461
fix(deps): update dependency better-sqlite3 to ^11.1.1 (#720)
homarr-renovate[bot] Jun 27, 2024
e46bfd9
fix(deps): update dependency jotai to ^2.8.4 (#721)
homarr-renovate[bot] Jun 28, 2024
e057aff
chore(deps): update dependency eslint to ^9.6.0 (#722)
homarr-renovate[bot] Jun 28, 2024
4cf10b9
chore(deps): update turbo monorepo to ^2.0.6 (#723)
homarr-renovate[bot] Jun 28, 2024
8fc2884
fix: typo in automatic release commit message (#726)
Meierschlumpf Jun 28, 2024
531cd0d
fix(deps): update tanstack-query monorepo to ^5.49.0 (#728)
homarr-renovate[bot] Jun 29, 2024
be100b6
fix(deps): update dependency drizzle-kit to ^0.22.8 (#729)
homarr-renovate[bot] Jun 29, 2024
4e1bbf2
feat: add dynamic breadcrumb (#706)
manuel-rw Jun 29, 2024
8ee0d67
fix(deps): update tanstack-query monorepo to ^5.49.2 (#730)
homarr-renovate[bot] Jun 30, 2024
663eb0b
fix(deps): update dependency mysql2 to v3.10.2 (#731)
homarr-renovate[bot] Jul 1, 2024
08d571a
feat: add tasks page (#692)
manuel-rw Jul 1, 2024
0990e4b
fix(deps): update dependency typescript-eslint to ^7.15.0 (#732)
homarr-renovate[bot] Jul 1, 2024
0ac123b
chore(deps): update dependency typescript to ^5.5.3 (#733)
homarr-renovate[bot] Jul 1, 2024
83ee03b
chore(deps): update dependency @types/better-sqlite3 to v7.6.11 (#734)
homarr-renovate[bot] Jul 2, 2024
dba97a3
feat: add calendar widget (#663)
manuel-rw Jul 2, 2024
60c0cfa
fix(deps): update mantine monorepo to ^7.11.1 (#735)
homarr-renovate[bot] Jul 2, 2024
6aecd1a
fix(deps): update dependency better-sqlite3 to ^11.1.2 (#736)
homarr-renovate[bot] Jul 2, 2024
e12531c
fix(deps): update dependency @tabler/icons-react to ^3.8.0 (#737)
homarr-renovate[bot] Jul 2, 2024
d32075d
fix(deps): update dependency react-simple-code-editor to ^0.14.0 (#738)
homarr-renovate[bot] Jul 2, 2024
15f3493
chore(deps): update pnpm/action-setup to v4 (#741)
Meierschlumpf Jul 3, 2024
1cf119c
feat: log elapsed cron job time (#742)
manuel-rw Jul 3, 2024
bb8640b
feat: add jellyfin integration (#672)
manuel-rw Jul 3, 2024
1dd509a
fix(deps): update dependency ws to ^8.18.0 (#740)
homarr-renovate[bot] Jul 3, 2024
f557fbb
chore(deps): update dependency testcontainers to ^10.10.1 (#739)
homarr-renovate[bot] Jul 3, 2024
41dba7b
fix: controller is already closed trpc subscription observable error …
Meierschlumpf Jul 3, 2024
75e5a6c
fix(deps): update dependency @tabler/icons-react to ^3.9.0 (#745)
homarr-renovate[bot] Jul 4, 2024
9375738
fix(deps): update dependency react-simple-code-editor to ^0.14.1 (#746)
homarr-renovate[bot] Jul 4, 2024
a67050e
fix(deps): update tanstack-query monorepo to ^5.50.1 (#747)
homarr-renovate[bot] Jul 5, 2024
228fc48
chore(deps): update dependency @types/node to ^20.14.10 (#748)
homarr-renovate[bot] Jul 5, 2024
61cbb74
fix(deps): update dependency glob to ^10.4.3 (#751)
homarr-renovate[bot] Jul 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .github/renovate.json → .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"packageRules": [
{
"matchPackagePatterns": [
"^@homarr/"
"^@homarr/",
"tsx" // Disabled for now as version 0.14.4 did not work with the current version of homarr. It resulted in a ERR_MODULE_NOT_FOUND error
],
"enabled": false
},
Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/build.yml

This file was deleted.

16 changes: 14 additions & 2 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Code quality analysis
name: "[Quality] Code Analysis"

on:
pull_request:
Expand All @@ -8,7 +8,7 @@ on:
merge_group:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

# You can leverage Vercel Remote Caching with Turbo to speed up your builds
Expand Down Expand Up @@ -72,3 +72,15 @@ jobs:
# Only works if you set `reportOnFailure: true` in your vite config as specified above
if: always()
uses: davelosert/vitest-coverage-report-action@v2

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./tooling/github/setup
- name: Copy env
shell: bash
run: cp .env.example .env
- name: Build
run: pnpm build
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

# https://github.com/webiny/action-conventional-commits?tab=readme-ov-file

name: Conventional Commits
name: "[Conventions] Semantic Commits"

on:
pull_request:
Expand All @@ -12,5 +10,5 @@ jobs:
name: Conventional Commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: webiny/[email protected]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Lint PR"
name: "[Conventions] Semantic PRs"

on:
pull_request_target:
Expand All @@ -11,8 +11,7 @@ permissions:
pull-requests: read

jobs:
main:
name: Validate PR title
validate-pull-request-title:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker image
name: "[Deployment] Release"

on:
pull_request:
Expand Down Expand Up @@ -70,13 +70,13 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
images: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}"
tags: |
type=raw,value=latest
type=raw,value=${{ steps.semver.outputs.next }}
- name: Build and push
id: buildPushAction
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64,linux/riscv64,linux/arm/v7,linux/arm/v6
context: .
Expand Down
82 changes: 82 additions & 0 deletions .github/workflows/deployment-weekly-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: "[Deployment] Automatic Weekly Release"

on:
schedule:
- cron: "0 19 * * 5" # https://crontab.guru/#0_19_*_*_5
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
create-and-merge-pr:
runs-on: ubuntu-latest
steps:
- name: Discord notification
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: "Automatic release has been triggered: [run ${{ github.run_number }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})"
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get Next Version
id: semver
uses: ietf-tools/semver-action@v1
with:
token: ${{ github.token }}
branch: dev
- name: Create pull request
uses: devops-infra/[email protected]
id: create-pull-request
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
title: "chore(release): automatic release ${{ steps.semver.outputs.next }}"
new_string: "**This is an automatic release**.<br/>Manual action may be required for major bumps.<br/>Detected change to be ``${{ steps.semver.outputs.bump }}``<br/>Bump version from ``${{ steps.semver.outputs.current }}`` to ``${{ steps.semver.outputs.next }}``"
source_branch: dev
target_branch: main
label: automerge
- name: Discord notification
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: "Created a release PR ${{ steps.create-pull-request.outputs.url }} for version ${{ steps.semver.outputs.next }} (new behaviour: ${{ steps.semver.outputs.bump }})"
- id: automerge
if: ${{ steps.semver.outputs.bump != 'major' }}
name: automerge
uses: "pascalgn/[email protected]"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_METHOD: merge # we prefer merge commits for merging to master
MERGE_COMMIT_MESSAGE: "chore(release): automatic release ${{ steps.semver.outputs.next }}"
MERGE_DELETE_BRANCH: false # never set to true!
PULL_REQUEST: "${{ steps.create-pull-request.outputs.pr_number }}"
MERGE_RETRIES: 20 # 20 retries * MERGE_RETRY_SLEEP until step fails
MERGE_RETRY_SLEEP: 10000 # 10 seconds * MERGE_RETRIES until step fails
MERGE_REQUIRED_APPROVALS: 0 # do not require approvals

- name: Merged Discord notification
if: ${{ steps.automerge.outputs.mergeResult == 'merged' }}
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: "Merged PR ${{ steps.create-pull-request.outputs.url }} for release ${{ steps.semver.outputs.next }}"
- name: Major Bump Discord notification
if: ${{ steps.semver.outputs.bump == 'major' }}
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: "The release PR must be manually merged because the next version is a major version: ${{ steps.create-pull-request.outputs.url }} for release ${{ steps.semver.outputs.next }}"
- name: Discord Fail Notification
if: failure()
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: "The automatic release workflow [run ${{ github.run_number }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) has failed"
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
name: Approve Renovate PRs
name: "[Dependency Updates] Auto Approve"
on:
pull_request:
types: [opened, synchronize]

jobs:
approve-renovate-prs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

uses: actions/checkout@v4
- name: Obtain token
id: obtainToken
uses: tibdex/github-app-token@v2
with:
private_key: ${{ secrets.RENOVATE_APPROVE_PRIVATE_KEY }}
app_id: ${{ secrets.RENOVATE_APPROVE_APP_ID }}
- name: Install GitHub CLI
run: sudo apt-get install -y gh

- name: Approve Renovate PRs
env:
GITHUB_TOKEN: ${{ secrets.RENOVATE_APPROVE_TOKEN }}
GITHUB_TOKEN: ${{ steps.obtainToken.outputs.token }}
run: |
for pr in $(gh pr list --author homarr-renovate[bot] --json number --jq .[].number); do
gh pr review $pr --approve --body "Automatically approved by GitHub Action"
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ coverage
out/
next-env.d.ts

# nest.js
apps/nestjs/dist
# artifacts
packages/db/migrations/*/migrate.cjs

# nitro
.nitro/
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.14.0
20.15.0
13 changes: 13 additions & 0 deletions .run/db_migration_mysql_generate.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="db:migration:mysql:generate" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="db:migration:mysql:generate" />
</scripts>
<node-interpreter value="project" />
<package-manager value="pnpm" />
<envs />
<method v="2" />
</configuration>
</component>
13 changes: 13 additions & 0 deletions .run/db_migration_sqlite_generate.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="db:migration:sqlite:generate" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="db:migration:sqlite:generate" />
</scripts>
<node-interpreter value="project" />
<package-manager value="pnpm" />
<envs />
<method v="2" />
</configuration>
</component>
13 changes: 13 additions & 0 deletions .run/db_push.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="db:push" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="db:push" />
</scripts>
<node-interpreter value="project" />
<package-manager value="pnpm" />
<envs />
<method v="2" />
</configuration>
</component>
13 changes: 13 additions & 0 deletions .run/db_studio.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="db:studio" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="db:studio" />
</scripts>
<node-interpreter value="project" />
<package-manager value="pnpm" />
<envs />
<method v="2" />
</configuration>
</component>
13 changes: 13 additions & 0 deletions .run/dev.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="dev" type="js.build_tools.npm" nameIsGenerated="true">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="dev" />
</scripts>
<node-interpreter value="project" />
<package-manager value="pnpm" />
<envs />
<method v="2" />
</configuration>
</component>
13 changes: 13 additions & 0 deletions .run/docker_dev.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="docker:dev" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="docker:dev" />
</scripts>
<node-interpreter value="project" />
<package-manager value="pnpm" />
<envs />
<method v="2" />
</configuration>
</component>
13 changes: 13 additions & 0 deletions .run/format.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="format" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="format" />
</scripts>
<node-interpreter value="project" />
<package-manager value="pnpm" />
<envs />
<method v="2" />
</configuration>
</component>
13 changes: 13 additions & 0 deletions .run/format_fix.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="format:fix" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="format:fix" />
</scripts>
<node-interpreter value="project" />
<package-manager value="pnpm" />
<envs />
<method v="2" />
</configuration>
</component>
13 changes: 13 additions & 0 deletions .run/test.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="test" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="test" />
</scripts>
<node-interpreter value="project" />
<package-manager value="pnpm" />
<envs />
<method v="2" />
</configuration>
</component>
Loading
Loading