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
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,13 @@ updates:
github-actions:
patterns:
- '*'
- package-ecosystem: 'composer'
directory: '/vendor-bin/danger-php'
schedule:
interval: 'weekly'
cooldown:
default-days: 7
reviewers:
- 'shopware/product-cc-after-sales'
commit-message:
prefix: 'chore'
20 changes: 16 additions & 4 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,28 @@ jobs:
name: Danger Check
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Run Danger PHP
uses: docker://ghcr.io/shyim/danger-php:latest
- name: Setup PHP
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
with:
php-version: 8.2
extensions: ctype, intl, mbstring
coverage: none

- name: Install Danger
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
with:
args: ci
working-directory: vendor-bin/danger-php

- name: Run Danger PHP
run: vendor-bin/danger-php/vendor/bin/danger ci
env:
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PULL_REQUEST_ID: ${{ github.event.pull_request.number }}

Expand Down
11 changes: 11 additions & 0 deletions vendor-bin/danger-php/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"require-dev": {
"shyim/danger-php": "^0.3.15"
},
"config": {
"allow-plugins": {
"php-http/discovery": true
},
"sort-packages": true
}
}
Loading