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
42 changes: 21 additions & 21 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: 2
updates:
#
#
# [GHAction]
# Based on https://github.com/yoanm/shared-config/blob/master/GitHub/dependabot/github-action.yml file
#
#
#
# [GHAction]
# Based on https://github.com/yoanm/shared-config/blob/master/GitHub/dependabot/github-action.yml file
#
- package-ecosystem: github-actions
directory: /
schedule:
Expand All @@ -14,22 +14,22 @@ updates:
prefix: '[dependabot][ghaction] - ' # No need to specify prod/dev for GHAction as there is only "production" updates !
include: scope
groups:
# Group all basic updates inside the a single PR
# No need to split prod/dev as there is only prod updates
# Group all basic updates inside the a single PR
# No need to split prod/dev as there is only prod updates
all-actions:
applies-to: version-updates
patterns: ['*']
# Group all security updates inside the a single PR
# No need to split prod/dev as there is only prod updates
# +Most likely no need to split major and other updates either
# Group all security updates inside the a single PR
# No need to split prod/dev as there is only prod updates
# +Most likely no need to split major and other updates either
SECURITY-all:
applies-to: security-updates
patterns: ['*']
#
#
# [Composer]
# Based on https://github.com/yoanm/shared-config/blob/master/GitHub/dependabot/composer.yml file
#
#
#
# [Composer]
# Based on https://github.com/yoanm/shared-config/blob/master/GitHub/dependabot/composer.yml file
#
- package-ecosystem: composer
directory: /
schedule: # Create PRs during week-ends, they will be ready on monday morning
Expand All @@ -41,9 +41,9 @@ updates:
prefix-development: '[dependabot][dev][composer] - '
include: scope
groups:
# Split basic updates by:
# - prod vs dev
# - major vs others (assuming packages properly follow semver !)
# Split basic updates by:
# - prod vs dev
# - major vs others (assuming packages properly follow semver !)
prod-majors:
applies-to: version-updates
dependency-type: production
Expand All @@ -62,9 +62,9 @@ updates:
applies-to: version-updates
dependency-type: development
patterns: ['*']
# Split security updates by:
# - prod vs dev
# - Major prod updates vs other prod updates
# Split security updates by:
# - prod vs dev
# - Major prod updates vs other prod updates
SECURITY-prod-major:
applies-to: security-updates
dependency-type: production
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:
checks: write # For the check run creation !

jobs:
upload:
coverage:
name: Coverage
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-check-CI-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
contents: read
uses: ./.github/workflows/reusable-CI-workflow.yml

upload:
coverage:
name: Coverage
needs: [tests]
permissions:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-CI-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,9 @@ jobs:
needs: [ fetch-supported-versions, tests ]
if: ${{ github.event_name == 'push' || ( github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'with-nightly-tests') ) }}
runs-on: ubuntu-latest
continue-on-error: true
permissions:
contents: read
continue-on-error: true
env:
COMPOSER_IGNORE_PLATFORM_REQ: 'php+'
strategy:
Expand All @@ -246,7 +246,7 @@ jobs:
symfony-version: ${{ needs.fetch-supported-versions.outputs.symfony-next }}
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
# Fix - symfony/framework-bundle - Framework bundle <7.0 require php 8.1 minimum !
pkg-extra-constraints: behat/gherkin:~4.12.0 ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '7.0' && needs.fetch-supported-versions.outputs.php-max == '8.4' ) && 'symfony/framework-bundle:~7.0.0@dev' || '' }}
pkg-extra-constraints: behat/gherkin:~4.12.0 ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '7.0' && needs.fetch-supported-versions.outputs.php-max == '8.4' ) && 'symfony/framework-bundle:~7.0.0@dev' || '' }}
- job-name: Symfony - With lowest supported PHP version
# Fix - Sf 7.0 require php 8.1 minimum, most of deps require 8.2 !
php-version: ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '7.0' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && '8.2' || needs.fetch-supported-versions.outputs.php-min }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/reusable-coverage-upload-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
outputs:
commit-sha: ${{ steps.fetch-workflow-metadata.outputs.commit-sha }}
run-id: ${{ steps.fetch-workflow-metadata.outputs.run-id }}
branch: ${{ steps.fetch-workflow-metadata.outputs.branch }}
pull-request: ${{ steps.fetch-workflow-metadata.outputs.pull-request }}

codacy-uploader:
name: Codacy
Expand Down Expand Up @@ -64,6 +66,6 @@ jobs:
run-id: ${{ needs.fetch-info.outputs.run-id }}
force-git-commit: ${{ needs.fetch-info.outputs.commit-sha }}
force-git-branch: ${{ needs.fetch-info.outputs.branch }}
force-gh-pr: ${{ needs.fetch-info.outputs.pr-number }}
force-gh-pr: ${{ needs.fetch-info.outputs.pull-request }}
force-uploader-build: ${{ needs.fetch-info.outputs.run-id }}
force-uploader-build-url: ${{ needs.fetch-info.outputs.run-url }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ build
#A library must not provide a composer.lock file
composer.lock

# Demo app excluded dirs
features/demo_app/var/

#Phpunit
Expand Down
1 change: 0 additions & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ build:
variables:
CI: 'true'
TEST_OUTPUT_STYLE: 'pretty'
COMPOSER_OPTIONS: '--optimize-autoloader'
COVERAGE_OUTPUT_STYLE: 'clover'
COVERAGE_CLOVER_FILE_PATH: 'build/coverage/clover.xml'
PHPCS_DISABLE_WARNING: 'true'
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

[![License](https://img.shields.io/github/license/yoanm/symfony-jsonrpc-http-server-openapi-doc.svg)](https://github.com/yoanm/symfony-jsonrpc-http-server-openapi-doc)
[![Code size](https://img.shields.io/github/languages/code-size/yoanm/symfony-jsonrpc-http-server-openapi-doc.svg)](https://github.com/yoanm/symfony-jsonrpc-http-server-openapi-doc)
[![Dependabot Status](https://api.dependabot.com/badges/status?host=github\&repo=yoanm/symfony-jsonrpc-http-server-openapi-doc)](https://dependabot.com)
![Dependabot Status](https://flat.badgen.net/github/dependabot/yoanm/symfony-jsonrpc-http-server-openapi-doc)
![Last commit](https://badgen.net/github/last-commit/yoanm/symfony-jsonrpc-http-server-openapi-doc)

[![Scrutinizer Build Status](https://img.shields.io/scrutinizer/build/g/yoanm/symfony-jsonrpc-http-server-openapi-doc.svg?label=Scrutinizer\&logo=scrutinizer)](https://scrutinizer-ci.com/g/yoanm/symfony-jsonrpc-http-server-openapi-doc/build-status/master)
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/yoanm/symfony-jsonrpc-http-server-openapi-doc/master.svg?logo=scrutinizer)](https://scrutinizer-ci.com/g/yoanm/symfony-jsonrpc-http-server-openapi-doc/?branch=master)
Expand Down
Loading