Skip to content

Ocrid changes

Ocrid changes #291

Workflow file for this run

name: Enlightn Checks
on:
pull_request:
branches: [main]
paths-ignore:
- '**/*.md'
jobs:
tests:
if: ${{ github.actor != 'dependabot[bot]'}}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.3]
name: P${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, json
coverage: none
- name: Install dependencies
env:
ENLIGHTN_USERNAME: ${{ secrets.ENLIGHTN_USERNAME }}
ENLIGHTN_API_TOKEN: ${{ secrets.ENLIGHTN_API_TOKEN }}
run: |
composer install --prefer-dist --no-interaction --no-progress --no-scripts
- name: Run Enlightn Checks and Trigger the Enlightn Bot
if: ${{ github.event_name == 'pull_request' }}
env:
ENLIGHTN_USERNAME: ${{ secrets.ENLIGHTN_USERNAME }}
ENLIGHTN_API_TOKEN: ${{ secrets.ENLIGHTN_API_TOKEN }}
ENLIGHTN_GITHUB_REPO: ${{ github.repository }}
run: |
cp .env.example .env
php artisan enlightn --ci --report --review --issue=${{ github.event.number }}