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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
/Dockerfile export-ignore
/infection.json5 export-ignore
/phpunit.xml export-ignore
/composer-dependency-analyser.php export-ignore
10 changes: 5 additions & 5 deletions .github/workflows/reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ name: "Fast Forward Reports"

on:
push:
branches:
- main
branches: [main]
pull_request:
workflow_dispatch:

# Caller permissions cap the callee; only its isolated deploy job writes Pages.
permissions:
contents: write
contents: read
pages: write
id-token: write

jobs:
reports:
uses: php-fast-forward/dev-tools/.github/workflows/reports.yml@main
secrets: inherit
uses: php-fast-forward/dev-tools/.github/workflows/reports-native.yml@main
Comment thread
coisa marked this conversation as resolved.
9 changes: 5 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ on:
workflow_dispatch:

permissions:
contents: write
pages: write
id-token: write
contents: read # Read source; matrix jobs retain read-only tokens.
actions: read # Allow the checkout-free publisher to inspect matrix job results.
statuses: write # Caller ceiling; only isolated callee publishers request this permission.

jobs:
tests:
uses: php-fast-forward/dev-tools/.github/workflows/tests.yml@main
secrets: inherit
with:
publish-required-statuses: ${{ github.actor != 'dependabot[bot]' }}
15 changes: 15 additions & 0 deletions composer-dependency-analyser.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

declare(strict_types=1);

use FastForward\DevTools\Config\ComposerDependencyAnalyserConfig;
use ShipMonk\ComposerDependencyAnalyser\Config\Configuration;
use ShipMonk\ComposerDependencyAnalyser\Config\ErrorType;

return ComposerDependencyAnalyserConfig::configure(
static function (Configuration $configuration): void {
// This HTTP bundle deliberately provides these companion utilities to consumers.
// See docs/links/dependencies.rst; the provider itself does not call them.
$configuration->ignoreErrorsOnPackage('middlewares/utils', [ErrorType::UNUSED_DEPENDENCY]);
},
);
Loading