name: Pull Request concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} cancel-in-progress: true on: pull_request: branches: - master - release* paths-ignore: - '**/*.md' jobs: build: name: Build ๐Ÿ—๏ธ if: ${{ always() && !cancelled() }} uses: ./.github/workflows/__package.yml with: commit: ${{ github.event.pull_request.head.sha }} quality_checks: name: Quality checks ๐Ÿ‘Œ๐Ÿงช if: ${{ always() && !cancelled() }} uses: ./.github/workflows/__quality_checks.yml permissions: {} with: commit: ${{ github.event.pull_request.head.sha }} codeql: name: GitHub CodeQL ๐Ÿ”ฌ if: ${{ always() && !cancelled() }} uses: ./.github/workflows/__codeql.yml permissions: actions: read contents: read security-events: write with: commit: ${{ github.event.pull_request.head.sha }} run-eslint: name: Run eslint suggestions if: ${{ github.repository == 'jellyfin/jellyfin-web' }} runs-on: ubuntu-latest steps: - name: Check out Git repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: ref: ${{ github.event.pull_request.head.sha }} - name: Setup node environment uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 with: node-version-file: .nvmrc cache: npm check-latest: true - name: Install Node.js dependencies run: npm ci --no-audit - name: Run eslint uses: CatChen/eslint-suggestion-action@4658f697254f02487303013f2998e31feea9560f # v4.1.26 with: github-token: ${{ secrets.GITHUB_TOKEN }}