refactor(librarium): updated roles edit and filter to respond dynamically to a change in roles #286
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |