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): automatic release v0.1.0 #633

Closed
wants to merge 81 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 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
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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,7 +70,7 @@ 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 }}
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): 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): 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
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>
13 changes: 13 additions & 0 deletions .run/test_ui.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="test:ui" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="test:ui" />
</scripts>
<node-interpreter value="project" />
<package-manager value="pnpm" />
<envs />
<method v="2" />
</configuration>
</component>
Loading
Loading