Skip to content

Commit

Permalink
feat(php): adjust the template for PHP projects (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
hutchic authored Feb 6, 2024
1 parent 7cc849f commit 616a4e3
Show file tree
Hide file tree
Showing 13 changed files with 559 additions and 173 deletions.
8 changes: 8 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.git
.gitignore
Dockerfile
docker-compose.yml
README.md
vendor/
node_modules/
.php-cs-fixer.cache
15 changes: 1 addition & 14 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
---
version: 2
updates:
- package-ecosystem: pip
directory: /
schedule:
interval: daily

- package-ecosystem: docker
directory: /
schedule:
Expand All @@ -16,15 +11,7 @@ updates:
schedule:
interval: daily

- package-ecosystem: npm
directory: /frontend/
ignore:
- dependency-name: '*'
update-types: [version-update:semver-major]
schedule:
interval: daily

- package-ecosystem: gitsubmodule
- package-ecosystem: composer
directory: /
schedule:
interval: daily
4 changes: 2 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ docs:
- '**/*.md'
github_actions:
- .github/**
python:
- '**/*.py'
php:
- '**/*.php'
2 changes: 1 addition & 1 deletion .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ branches:
# Required. Require branches to be up to date before merging.
strict: true
# Required. The list of status checks to require in order to merge into this branch
contexts: [pre-commit, sync]
contexts: [pre-commit]
# Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
enforce_admins: null
# Prevent merge commits from being pushed to matching branches
Expand Down
16 changes: 0 additions & 16 deletions .github/template-sync.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
tools: phpunit, phpcs, phpcbf, php-cs-fixer, phpstan
coverage: none
- uses: actions/[email protected]
with:
python-version: '3.8'
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/sync.yml

This file was deleted.

Loading

0 comments on commit 616a4e3

Please sign in to comment.