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
11 changes: 6 additions & 5 deletions .github/workflows/polish-the-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@ jobs:
# Limit the running time
timeout-minutes: 10
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
# checkout PR HEAD commit
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0 # required for merge-base check
# required for merge-base check
fetch-depth: 0
persist-credentials: false
- uses: commit-check/commit-check-action@v2
env:
Expand All @@ -54,7 +55,7 @@ jobs:

# Note: https://docs.github.com/en/actions/using-workflows/reusing-workflows The strategy property is not supported in any job that calls a reusable workflow.
php-composer-unit-stan:
uses: WorkOfStan/seablast-actions/.github/workflows/php-composer-dependencies-reusable.yml@v0.2.9
uses: WorkOfStan/seablast-actions/.github/workflows/php-composer-dependencies-reusable.yml@v0.2.11
with:
# JSON
php-version: '["7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4", "8.5"]'
Expand Down Expand Up @@ -95,11 +96,11 @@ jobs:

super-linter:
needs: phpcs-phpcbf
uses: WorkOfStan/seablast-actions/.github/workflows/linter.yml@v0.2.9
uses: WorkOfStan/seablast-actions/.github/workflows/linter.yml@v0.2.11
with:
# exclude third-party code
filter-regex-exclude: ".*/assets/uls/.*"
runs-on: "ubuntu-latest"
# todo fix fix assets/seablast.css and then allow again CSS validation
# todo fix assets/seablast.css and then allow again CSS validation
validate-css: false
validate-spell-codespell: true
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
!/cache/.htaccess
/log/*
!/log/.htaccess
/.composer-cache
/.*.cache
/.sass-cache/
/.php_cs.cache
/.php-cs-fixer.cache
/.phpunit.result.cache

#disable private local files
*.local.php
*.local.*

#disable composer-managed libraries
/vendor/
Expand Down
5 changes: 4 additions & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ RewriteRule ^src(/|$) - [R=404,L]
RedirectMatch 404 \/tests\/
RedirectMatch 404 \/views\/
# hide these files
RedirectMatch 404 (^|/)composer\.(json|lock)$
RedirectMatch 404 (^|/)\.phpunit\.result\.cache$
RedirectMatch 404 phpstan\.neon\.dist
RedirectMatch 404 phpunit\.xml
# hide files with these extensions
Expand All @@ -17,4 +19,5 @@ RedirectMatch 404 \.neon$
RedirectMatch 404 \.sh$
RedirectMatch 404 \.yml$
# hide all the files in any directory that have no filename but only an extension (like .prettierignore)
RedirectMatch 404 /(\.[^.]+)$
# hide all dotfiles in any directory, including multi-dot files like .phpunit.result.cache
RedirectMatch 404 (^|/)\.[^/]+$
Loading
Loading