mirror of
https://github.com/hoverkraft-tech/compose-action.git
synced 2026-01-14 00:23:08 +08:00
Compare commits
No commits in common. "c4d1d8e06d46515645492e74ce683a209c5151be" and "3212ac38f29ab5f84baa4ec3877605ea80688d9c" have entirely different histories.
c4d1d8e06d
...
3212ac38f2
12
.github/dependabot.yml
vendored
12
.github/dependabot.yml
vendored
@ -52,15 +52,3 @@ updates:
|
||||
- "@actions/*"
|
||||
npm-dev-dependencies:
|
||||
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/**"]
|
||||
}
|
||||
2
.github/workflows/__check-dist.yml
vendored
2
.github/workflows/__check-dist.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- uses: hoverkraft-tech/ci-github-nodejs/actions/setup-node@5c1010a9146952f724730bf79ba8e2e40ba8e474 # 0.11.0
|
||||
- uses: hoverkraft-tech/ci-github-nodejs/actions/setup-node@0c281f43dd49fcdec089c67ee99819620d634046 # 0.10.0
|
||||
|
||||
- name: Build dist/ Directory
|
||||
id: package
|
||||
|
||||
2
.github/workflows/__check-nodejs.yml
vendored
2
.github/workflows/__check-nodejs.yml
vendored
@ -10,7 +10,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
test-nodejs:
|
||||
uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/continuous-integration.yml@5c1010a9146952f724730bf79ba8e2e40ba8e474 # 0.11.0
|
||||
uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/continuous-integration.yml@0c281f43dd49fcdec089c67ee99819620d634046 # 0.10.0
|
||||
permissions:
|
||||
id-token: write
|
||||
security-events: write
|
||||
|
||||
3
.github/workflows/__shared-ci.yml
vendored
3
.github/workflows/__shared-ci.yml
vendored
@ -4,7 +4,6 @@ on:
|
||||
workflow_call:
|
||||
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
packages: read
|
||||
security-events: write
|
||||
@ -13,7 +12,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
linter:
|
||||
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@95664be4ec235bfc221c4356c7153cbab3fb8f93 # 0.22.3
|
||||
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@abd5469ef96aaa3fa1508e2cbaa3e76734533e8a # 0.22.2
|
||||
with:
|
||||
linter-env: |
|
||||
FILTER_REGEX_EXCLUDE=dist/**/*
|
||||
|
||||
2
.github/workflows/greetings.yml
vendored
2
.github/workflows/greetings.yml
vendored
@ -13,4 +13,4 @@ permissions:
|
||||
|
||||
jobs:
|
||||
greetings:
|
||||
uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@95664be4ec235bfc221c4356c7153cbab3fb8f93 # 0.22.3
|
||||
uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@abd5469ef96aaa3fa1508e2cbaa3e76734533e8a # 0.22.2
|
||||
|
||||
5
.github/workflows/main-ci.yml
vendored
5
.github/workflows/main-ci.yml
vendored
@ -11,7 +11,6 @@ on:
|
||||
- cron: "25 8 * * 1"
|
||||
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
packages: read
|
||||
security-events: write
|
||||
@ -39,13 +38,13 @@ jobs:
|
||||
owner: ${{ github.repository_owner }}
|
||||
repo: ${{ github.event.repository.name }}
|
||||
|
||||
- uses: actions/create-github-app-token@30bf6253fa41bdc8d1501d202ad15287582246b4 # v2.0.3
|
||||
- uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
|
||||
id: generate-token
|
||||
with:
|
||||
app-id: ${{ vars.CI_BOT_APP_ID }}
|
||||
private-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}
|
||||
|
||||
- uses: hoverkraft-tech/ci-github-common/actions/create-and-merge-pull-request@95664be4ec235bfc221c4356c7153cbab3fb8f93 # 0.22.3
|
||||
- uses: hoverkraft-tech/ci-github-common/actions/create-and-merge-pull-request@abd5469ef96aaa3fa1508e2cbaa3e76734533e8a # 0.22.2
|
||||
with:
|
||||
github-token: ${{ steps.generate-token.outputs.token }}
|
||||
branch: docs/actions-workflows-documentation-update
|
||||
|
||||
2
.github/workflows/need-fix-to-issue.yml
vendored
2
.github/workflows/need-fix-to-issue.yml
vendored
@ -21,7 +21,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
main:
|
||||
uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@95664be4ec235bfc221c4356c7153cbab3fb8f93 # 0.22.3
|
||||
uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@abd5469ef96aaa3fa1508e2cbaa3e76734533e8a # 0.22.2
|
||||
with:
|
||||
manual-commit-ref: ${{ inputs.manual-commit-ref }}
|
||||
manual-base-ref: ${{ inputs.manual-base-ref }}
|
||||
|
||||
1
.github/workflows/pull-request-ci.yml
vendored
1
.github/workflows/pull-request-ci.yml
vendored
@ -6,7 +6,6 @@ on:
|
||||
branches: [main]
|
||||
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
packages: read
|
||||
statuses: write
|
||||
|
||||
2
.github/workflows/semantic-pull-request.yml
vendored
2
.github/workflows/semantic-pull-request.yml
vendored
@ -13,4 +13,4 @@ permissions:
|
||||
|
||||
jobs:
|
||||
main:
|
||||
uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@95664be4ec235bfc221c4356c7153cbab3fb8f93 # 0.22.3
|
||||
uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@abd5469ef96aaa3fa1508e2cbaa3e76734533e8a # 0.22.2
|
||||
|
||||
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
@ -10,4 +10,4 @@ permissions:
|
||||
|
||||
jobs:
|
||||
main:
|
||||
uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@95664be4ec235bfc221c4356c7153cbab3fb8f93 # 0.22.3
|
||||
uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@abd5469ef96aaa3fa1508e2cbaa3e76734533e8a # 0.22.2
|
||||
|
||||
@ -3,7 +3,6 @@ FROM ghcr.io/super-linter/super-linter:slim-v7
|
||||
|
||||
ARG UID=1000
|
||||
ARG GID=1000
|
||||
RUN chown -R ${UID}:${GID} /github/home
|
||||
USER ${UID}:${GID}
|
||||
|
||||
ENV RUN_LOCAL=true
|
||||
|
||||
7
Makefile
7
Makefile
@ -8,9 +8,9 @@ lint: ## Execute linting
|
||||
|
||||
lint-fix: ## Execute linting and fix
|
||||
$(call run_linter, \
|
||||
-e FIX_JSON_PRETTIER=true \
|
||||
-e FIX_YAML_PRETTIER=true \
|
||||
-e FIX_MARKDOWN=true \
|
||||
-e FIX_JSON_PRETTIER=true \
|
||||
-e FIX_MARKDOWN_PRETTIER=true \
|
||||
-e FIX_NATURAL_LANGUAGE=true)
|
||||
|
||||
@ -18,13 +18,12 @@ define run_linter
|
||||
DEFAULT_WORKSPACE="$(CURDIR)"; \
|
||||
LINTER_IMAGE="linter:latest"; \
|
||||
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 \
|
||||
-e DEFAULT_WORKSPACE="$$DEFAULT_WORKSPACE" \
|
||||
-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 VALIDATE_JSCPD=false \
|
||||
-e VALIDATE_TYPESCRIPT_STANDARD=false \
|
||||
-e VALIDATE_TYPESCRIPT_ES=false \
|
||||
-e VALIDATE_TYPESCRIPT_PRETTIER=false \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user