diff --git a/.editorconfig b/.editorconfig index 39de8ae..ed8a7f0 100644 --- a/.editorconfig +++ b/.editorconfig @@ -20,4 +20,5 @@ indent_size = 2 indent_size = 4 [*.md] +indent_size = 2 trim_trailing_whitespace = false diff --git a/.gitattributes b/.gitattributes index bb79878..c1d226d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -46,6 +46,7 @@ phpstan.neon export-ignore text eol=lf phpunit.xml export-ignore text eol=lf psalm.xml export-ignore text eol=lf rector.php export-ignore text eol=lf +/cache export-ignore /test export-ignore /tests export-ignore /tools export-ignore diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index efbefe9..6864325 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,3 +1,16 @@ +| Q | A | +|-----------------|------------| +| project version | x.y.z | +| PHP version | x.y.z | + + + + #### Steps required to reproduce the problem 1. diff --git a/.github/workflows/cleanup-caches.yml b/.github/workflows/cleanup-caches.yml index e40b471..91426be 100644 --- a/.github/workflows/cleanup-caches.yml +++ b/.github/workflows/cleanup-caches.yml @@ -1,4 +1,9 @@ -name: cleanup caches by a branch +# https://help.github.com/en/categories/automating-your-workflow-with-github-actions + +# file-version: 1.0 + +name: "Cleanup caches by a branch" + on: pull_request: types: @@ -7,7 +12,7 @@ on: jobs: cleanup: - runs-on: ubuntu-latest + runs-on: "ubuntu-20.04" steps: - name: "Checkout" uses: "actions/checkout@v3" diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index c4b4c97..2f4333e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -9,6 +9,11 @@ # the `language` matrix defined below to confirm you have the correct set of # supported CodeQL languages. # + +# https://help.github.com/en/categories/automating-your-workflow-with-github-actions + +# file-version: 1.0 + name: "CodeQL" on: diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index ee87fd1..724b78e 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -5,6 +5,10 @@ # Source repository: https://github.com/actions/dependency-review-action # Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement +# https://help.github.com/en/categories/automating-your-workflow-with-github-actions + +# file-version: 1.0 + name: "Dependency Review" on: diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index bbce963..cdec03c 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -1,5 +1,7 @@ # https://help.github.com/en/categories/automating-your-workflow-with-github-actions +# file-version: 1.0 + name: "Sync labels in the declarative way" on: diff --git a/.github/workflows/lock-closed-issues.yml b/.github/workflows/lock-closed-issues.yml index baef386..bdfd090 100644 --- a/.github/workflows/lock-closed-issues.yml +++ b/.github/workflows/lock-closed-issues.yml @@ -1,4 +1,8 @@ -name: Lock closed issue +# https://help.github.com/en/categories/automating-your-workflow-with-github-actions + +# file-version: 1.0 + +name: "Lock closed issue" on: issues: diff --git a/.github/workflows/reactions.yml b/.github/workflows/reactions.yml index 4085517..f7bfacd 100644 --- a/.github/workflows/reactions.yml +++ b/.github/workflows/reactions.yml @@ -1,6 +1,8 @@ # https://help.github.com/en/categories/automating-your-workflow-with-github-actions -name: 'Reaction Comments' +# file-version: 1.0 + +name: "Reaction Comments" on: issue_comment: diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index ccdb8e2..a9902de 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -1,5 +1,7 @@ # https://help.github.com/en/categories/automating-your-workflow-with-github-actions +# file-version: 1.0 + name: "Release Drafter" on: diff --git a/.mega-linter.yml b/.mega-linter.yml index 735139f..38de616 100644 --- a/.mega-linter.yml +++ b/.mega-linter.yml @@ -12,6 +12,8 @@ DISABLE: #- COPYPASTE DISABLE_LINTERS: - MARKDOWN_MARKDOWN_TABLE_FORMATTER + - MARKDOWN_MARKDOWN_LINK_CHECK + - EDITORCONFIG_EDITORCONFIG_CHECKER - YAML_V8R EDITORCONFIG_EDITORCONFIG_CHECKER_FILTER_REGEX_EXCLUDE: "(\\.idea|\\.editorconfig|\\.github|\\.phpunit\\.result\\.cache|LICENSE)" JSON_PRETTIER_FILTER_REGEX_EXCLUDE: "(composer\\.json)"