mirror of
https://github.com/hoverkraft-tech/compose-action.git
synced 2026-01-13 16:13:08 +08:00
Compare commits
1 Commits
543150fc1d
...
e081596ac0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e081596ac0 |
12
.github/dependabot.yml
vendored
12
.github/dependabot.yml
vendored
@ -52,15 +52,3 @@ updates:
|
|||||||
- "@actions/*"
|
- "@actions/*"
|
||||||
npm-dev-dependencies:
|
npm-dev-dependencies:
|
||||||
dependency-type: development
|
dependency-type: development
|
||||||
|
|
||||||
- package-ecosystem: "devcontainers"
|
|
||||||
open-pull-requests-limit: 20
|
|
||||||
directory: "/"
|
|
||||||
schedule:
|
|
||||||
interval: weekly
|
|
||||||
day: friday
|
|
||||||
time: "04:00"
|
|
||||||
groups:
|
|
||||||
devcontainers-dependencies:
|
|
||||||
patterns:
|
|
||||||
- "*"
|
|
||||||
|
|||||||
3
.github/linters/.jscpd.json
vendored
3
.github/linters/.jscpd.json
vendored
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"ignore": ["**/dist/**"]
|
|
||||||
}
|
|
||||||
1
.github/workflows/__shared-ci.yml
vendored
1
.github/workflows/__shared-ci.yml
vendored
@ -4,7 +4,6 @@ on:
|
|||||||
workflow_call:
|
workflow_call:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
actions: read
|
|
||||||
contents: read
|
contents: read
|
||||||
packages: read
|
packages: read
|
||||||
security-events: write
|
security-events: write
|
||||||
|
|||||||
1
.github/workflows/main-ci.yml
vendored
1
.github/workflows/main-ci.yml
vendored
@ -11,7 +11,6 @@ on:
|
|||||||
- cron: "25 8 * * 1"
|
- cron: "25 8 * * 1"
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
actions: read
|
|
||||||
contents: read
|
contents: read
|
||||||
packages: read
|
packages: read
|
||||||
security-events: write
|
security-events: write
|
||||||
|
|||||||
1
.github/workflows/pull-request-ci.yml
vendored
1
.github/workflows/pull-request-ci.yml
vendored
@ -6,7 +6,6 @@ on:
|
|||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
actions: read
|
|
||||||
contents: read
|
contents: read
|
||||||
packages: read
|
packages: read
|
||||||
statuses: write
|
statuses: write
|
||||||
|
|||||||
@ -3,7 +3,6 @@ FROM ghcr.io/super-linter/super-linter:slim-v7
|
|||||||
|
|
||||||
ARG UID=1000
|
ARG UID=1000
|
||||||
ARG GID=1000
|
ARG GID=1000
|
||||||
RUN chown -R ${UID}:${GID} /github/home
|
|
||||||
USER ${UID}:${GID}
|
USER ${UID}:${GID}
|
||||||
|
|
||||||
ENV RUN_LOCAL=true
|
ENV RUN_LOCAL=true
|
||||||
|
|||||||
9
Makefile
9
Makefile
@ -8,9 +8,9 @@ lint: ## Execute linting
|
|||||||
|
|
||||||
lint-fix: ## Execute linting and fix
|
lint-fix: ## Execute linting and fix
|
||||||
$(call run_linter, \
|
$(call run_linter, \
|
||||||
-e FIX_JSON_PRETTIER=true \
|
|
||||||
-e FIX_YAML_PRETTIER=true \
|
-e FIX_YAML_PRETTIER=true \
|
||||||
-e FIX_MARKDOWN=true \
|
-e FIX_MARKDOWN=true \
|
||||||
|
-e FIX_JSON_PRETTIER=true \
|
||||||
-e FIX_MARKDOWN_PRETTIER=true \
|
-e FIX_MARKDOWN_PRETTIER=true \
|
||||||
-e FIX_NATURAL_LANGUAGE=true)
|
-e FIX_NATURAL_LANGUAGE=true)
|
||||||
|
|
||||||
@ -18,14 +18,13 @@ define run_linter
|
|||||||
DEFAULT_WORKSPACE="$(CURDIR)"; \
|
DEFAULT_WORKSPACE="$(CURDIR)"; \
|
||||||
LINTER_IMAGE="linter:latest"; \
|
LINTER_IMAGE="linter:latest"; \
|
||||||
VOLUME="$$DEFAULT_WORKSPACE:$$DEFAULT_WORKSPACE"; \
|
VOLUME="$$DEFAULT_WORKSPACE:$$DEFAULT_WORKSPACE"; \
|
||||||
docker build --build-arg UID=$(shell id -u) --build-arg GID=$(shell id -g) --tag $$LINTER_IMAGE .; \
|
docker build --build-arg UID=$(id -u) --build-arg GID=$(id -g) --tag $$LINTER_IMAGE .; \
|
||||||
docker run \
|
docker run \
|
||||||
-e DEFAULT_WORKSPACE="$$DEFAULT_WORKSPACE" \
|
-e DEFAULT_WORKSPACE="$$DEFAULT_WORKSPACE" \
|
||||||
-e FILTER_REGEX_INCLUDE="$(filter-out $@,$(MAKECMDGOALS))" \
|
-e FILTER_REGEX_INCLUDE="$(filter-out $@,$(MAKECMDGOALS))" \
|
||||||
-e IGNORE_GITIGNORED_FILES=true \
|
|
||||||
-e KUBERNETES_KUBECONFORM_OPTIONS="--schema-location default --schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json'" \
|
|
||||||
-e FILTER_REGEX_EXCLUDE=dist/**/* \
|
-e FILTER_REGEX_EXCLUDE=dist/**/* \
|
||||||
-e VALIDATE_TYPESCRIPT_STANDARD=false \
|
-e VALIDATE_JSCPD=false \
|
||||||
|
-e VALIDATE_TYPESCRIPT_STANDARD=false \
|
||||||
-e VALIDATE_TYPESCRIPT_ES=false \
|
-e VALIDATE_TYPESCRIPT_ES=false \
|
||||||
-e VALIDATE_TYPESCRIPT_PRETTIER=false \
|
-e VALIDATE_TYPESCRIPT_PRETTIER=false \
|
||||||
-e VALIDATE_JAVASCRIPT_ES=false \
|
-e VALIDATE_JAVASCRIPT_ES=false \
|
||||||
|
|||||||
750
package-lock.json
generated
750
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user