Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ updates:
open-pull-requests-limit: 20
directory: "/"
versioning-strategy: increase
cooldown:
default-days: 7
schedule:
interval: "weekly"
groups:
Expand All @@ -28,6 +30,8 @@ updates:
- package-ecosystem: github-actions
open-pull-requests-limit: 20
directory: "/"
cooldown:
default-days: 7
schedule:
interval: weekly
groups:
Expand All @@ -38,12 +42,16 @@ updates:
- package-ecosystem: "devcontainers"
open-pull-requests-limit: 20
directory: "/"
cooldown:
default-days: 7
schedule:
interval: weekly

- package-ecosystem: "docker"
open-pull-requests-limit: 20
directory: "/"
cooldown:
default-days: 7
schedule:
interval: "weekly"
groups:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Greetings
on:
issues:
types: [opened]
pull_request_target:
pull_request:
types: [opened]
branches: [main]

permissions: {}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/main-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ concurrency:
jobs:
ci:
uses: ./.github/workflows/__shared-ci.yml
secrets: inherit
permissions:
actions: read
contents: read
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/need-fix-to-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ on:
description: "The SHA of the commit to get the diff for"
required: true
manual-base-ref:
description: "By default, the commit entered above is compared to the one directly
description:
"By default, the commit entered above is compared to the one directly
before it; to go back further, enter an earlier SHA here"
required: false

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pull-request-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ jobs:
id-token: write
security-events: write
statuses: write
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/semantic-pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "Pull Request - Semantic Lint"

on:
pull_request_target:
pull_request:
types:
- opened
- edited
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ coverage/
.env.local
.env.development.local
.env.test.local
.env.production.local
.env.production.local
packages/**/junit.xml
9 changes: 1 addition & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
FROM ghcr.io/super-linter/super-linter:slim-v8.0.0
FROM ghcr.io/hoverkraft-tech/docker-base-images/super-linter:0.4.0

HEALTHCHECK --interval=5m --timeout=10s --start-period=30s --retries=3 CMD ["/bin/sh","-c","test -d /github/home"]

ARG UID=1000
ARG GID=1000
RUN chown -R ${UID}:${GID} /github/home
USER ${UID}:${GID}

ENV RUN_LOCAL=true
ENV USE_FIND_ALGORITHM=true
ENV LOG_LEVEL=WARN
ENV LOG_FILE="/github/home/logs"
16 changes: 6 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,21 @@ test: ## Run tests

ci: ## Run tests in CI mode
$(MAKE) setup
npm audit fix || true
npm audit fix --workspaces --include-workspace-root || true
$(MAKE) lint-fix
$(MAKE) build
$(MAKE) test

linter-fix: ## Execute linting and fix
$(call run_linter, \
-e FIX_CSS_PRETTIER=true \
-e FIX_JSON_PRETTIER=true \
-e FIX_JAVASCRIPT_PRETTIER=true \
-e FIX_TYPESCRIPT_PRETTIER=true \
-e FIX_YAML_PRETTIER=true \
-e FIX_SPELL_CODESPELL=true \
-e FIX_MARKDOWN=true \
-e FIX_MARKDOWN_PRETTIER=true \
-e FIX_YAML_PRETTIER=true \
-e FIX_NATURAL_LANGUAGE=true \
-e FIX_SHELL_SHFMT=true \
-e FIX_BIOME_LINT=true \
-e FIX_BIOME_FORMAT=true \
)

define run_linter
Expand All @@ -55,10 +55,6 @@ define run_linter
docker run \
-e DEFAULT_WORKSPACE="$$DEFAULT_WORKSPACE" \
-e FILTER_REGEX_INCLUDE="$(filter-out $@,$(MAKECMDGOALS))" \
-e IGNORE_GITIGNORED_FILES=true \
-e VALIDATE_TYPESCRIPT_ES=false \
-e VALIDATE_TSX=false \
-e VALIDATE_CSS=false \
$(1) \
-v $$VOLUME \
--rm \
Expand Down
34 changes: 34 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "https://biomejs.dev/schemas/2.4.10/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false
},
"formatter": {
"enabled": true,
"indentStyle": "space"
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
}
}
3 changes: 0 additions & 3 deletions eslint.config.mjs

This file was deleted.

Loading
Loading