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
File renamed without changes.
File renamed without changes.
30 changes: 30 additions & 0 deletions .config/hadolint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
# For all available rules see: https://github.com/hadolint/hadolint#rules
ignored:
- DL3008 # We do not want to pin versions in apt get install.
- DL3018 # We do not want to pin versions in apk add

# For full details see https://github.com/hadolint/hadolint#configure
#
# The following keys are available:
#
# failure-threshold: string # name of threshold level (error | warning | info | style | ignore | none)
# format: string # Output format (tty | json | checkstyle | codeclimate | gitlab_codeclimate | gnu | codacy)
# label-schema: # See https://github.com/hadolint/hadolint#linting-labels for details
# author: string # Your name
# contact: string # email address
# created: timestamp # rfc3339 datetime
# version: string # semver
# documentation: string # url
# git-revision: string # hash
# license: string # spdx
# no-color: boolean # true | false
# no-fail: boolean # true | false
# override:
# error: [string] # list of rules
# warning: [string] # list of rules
# info: [string] # list of rules
# style: [string] # list of rules
# strict-labels: boolean # true | false
# disable-ignore-pragma: boolean # true | false
# trustedRegistries: string | [string] # registry or list of registries
2 changes: 1 addition & 1 deletion build/phpcs.xml.dist → .config/phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<!-- <arg name="parallel" value="75"/>-->

<file>.</file>
<exclude-pattern>*/vendor/*|*/build/*</exclude-pattern>
<exclude-pattern>*/vendor/*|*/.config/*</exclude-pattern>

<rule ref="PHPCompatibility"/>
<config name="testVersion" value="8.0-"/>
Expand Down
50 changes: 0 additions & 50 deletions .github/workflows/dependancy-security-check.yml

This file was deleted.

56 changes: 56 additions & 0 deletions .github/workflows/dockerfile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
name: Dockerfile Quality Assistance

on:
# This event occurs when there is activity on a pull request. The workflow
# will be run against the commits, after merge to the target branch (main).
pull_request:
branches: [ main ]
paths:
- '.config/hadolint.yml'
- '.dockerignore'
- '.github/workflows/dockerfile.yml'
- 'Dockerfile'
# Docker project specific, Dockerfile "COPY" and "ADD" entries.
- 'solid/'
- 'init-live.sh'
- 'init.sh'
- 'site.conf'
types: [ opened, reopened, synchronize ]
# This event occurs when there is a push to the repository.
push:
paths:
- '.config/hadolint.yml'
- '.dockerignore'
- '.github/workflows/dockerfile.yml'
- 'Dockerfile'
# Docker project specific, Dockerfile "COPY" and "ADD" entries.
- 'solid/'
- 'init-live.sh'
- 'init.sh'
- 'site.conf'
# Allow manually triggering the workflow.
workflow_dispatch:

# Cancels all previous workflow runs for the same branch that have not yet completed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
# Needed to allow the "concurrency" section to cancel a workflow run.
actions: write

jobs:
# 03.quality.docker.lint.yml
lint-dockerfile:
name: Dockerfile Linting
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: docker://pipelinecomponents/hadolint
with:
args: >-
hadolint
--config .config/hadolint.yml
Dockerfile
46 changes: 46 additions & 0 deletions .github/workflows/json.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: JSON Quality Assistance

on:
# This event occurs when there is activity on a pull request. The workflow
# will be run against the commits, after merge to the target branch (main).
pull_request:
branches: [ main ]
paths:
- '**.json'
- '.github/workflows/json.yml'
types: [ opened, reopened, synchronize ]
# This event occurs when there is a push to the repository.
push:
paths:
- '**.json'
- '.github/workflows/json.yml'
# Allow manually triggering the workflow.
workflow_dispatch:

# Cancels all previous workflow runs for the same branch that have not yet completed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
# Needed to allow the "concurrency" section to cancel a workflow run.
actions: write

jobs:
# 01.preflight.json.lint-syntax.yml
lint-json-syntax:
name: JSON Syntax Linting
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: docker://pipelinecomponents/jsonlint
with:
args: >-
find .
-not -path '*/.git/*'
-not -path '*/node_modules/*'
-not -path '*/vendor/*'
-name '*.json'
-type f
-exec jsonlint --quiet {} ;
37 changes: 0 additions & 37 deletions .github/workflows/linting.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/markdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
name: Markdown Quality Assistance

on:
# This event occurs when there is activity on a pull request. The workflow
# will be run against the commits, after merge to the target branch (main).
pull_request:
branches: [ main ]
paths:
- '**.md'
- '.github/workflows/markdown.yml'
types: [ opened, reopened, synchronize ]
# This event occurs when there is a push to the repository.
push:
paths:
- '**.md'
- '.github/workflows/markdown.yml'
# Allow manually triggering the workflow.
workflow_dispatch:

# Cancels all previous workflow runs for the same branch that have not yet completed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
# Needed to allow the "concurrency" section to cancel a workflow run.
actions: write

jobs:
# 01.quality.markdown.lint-syntax.yml
lint-markdown-syntax:
name: Markdown Linting
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: docker://pipelinecomponents/remark-lint
with:
args: >-
remark
--rc-path=.config/.remarkrc
--ignore-pattern='*/vendor/*'
31 changes: 0 additions & 31 deletions .github/workflows/php-version-sniff.yml

This file was deleted.

Loading
Loading