[Improvement] Search will not return an item if user has no view permission on parent of the parent folder #997
Workflow file for this run
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: Qodana | |
on: | |
schedule: | |
- cron: '0 01 * * *' # Run once per day | |
workflow_dispatch: | |
push: | |
paths: | |
- '**.php' | |
- '**.yml' | |
- '**.yaml' | |
branches: | |
- '*' | |
- '**' | |
pull_request_target: | |
types: [opened, synchronize, reopened] | |
paths: | |
- '**.php' | |
- '**.yml' | |
- '**.yaml' | |
branches: | |
- '*' | |
- '**' | |
jobs: | |
qodana: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
checks: write | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 0 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
extensions: curl, mbstring, openssl, pdo, pdo_sqlite | |
ini-values: memory_limit=-1, date.timezone='UTC' | |
coverage: xdebug | |
tools: composer:v2 | |
- name: Validate composer.json and composer.lock | |
run: composer validate | |
- name: Add Token | |
run: composer config --global --auth http-basic.enterprise.repo.pimcore.com token ${{ secrets.COMPOSER_PIMCORE_REPO_TOKEN }} | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress --no-interaction --no-suggest | |
- name: 'Qodana Scan' | |
uses: JetBrains/qodana-action@latest | |
with: | |
args: --baseline,qodana.sarif.json | |
env: | |
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} |