Skip to content

Fix(DPLAN-12449): dp-obscure tag not being applied #4956

Fix(DPLAN-12449): dp-obscure tag not being applied

Fix(DPLAN-12449): dp-obscure tag not being applied #4956

Workflow file for this run

name: Run Reviewdog
on:
pull_request:
paths:
- '**.php'
- '**.js'
- '**.vue'
jobs:
cancel:
name: 'Cancel Previous Runs'
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: styfle/[email protected]
with:
workflow_id: "reviewdog"
access_token: ${{ secrets.GITHUB_TOKEN }}
reviewdog:
runs-on: ubuntu-20.04
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v4
- uses: reviewdog/[email protected]
- name: Setup PHP with composer v2
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
extensions: gd soap sockets zip
tools: composer:v2
- name: Cache php modules
uses: actions/[email protected]
with:
path: |
~/.composer/cache
vendor
key: ${{ runner.os }}-build-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-build-php-${{ hashFiles('**/composer.lock') }}
- name: Miscellaneous runtime caches
uses: actions/[email protected]
with:
path: |
config/.runtime/cache
key: ${{ runner.os }}-infrastructure-runtime
restore-keys: |
${{ runner.os }}-infrastructure-runtime
- name: Install composer dependencies
run: |
composer --version
composer install --no-interaction
- name: Warmup cache
run: DEVELOPMENT_CONTAINER=1 php bin/test cache:clear
- name: Woof
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
reviewdog -reporter=github-pr-review -tee -diff="git diff ${{ github.base_ref }}"