name: CI on: pull_request: branches: [main, master] concurrency: group: ci-${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true permissions: contents: read jobs: quality: uses: ./.gitea/workflows/quality.yaml with: is_pull_request: true base_sha: ${{ github.event.pull_request.base.sha }} head_sha: ${{ github.event.pull_request.head.sha }} allow_registry_login: ${{ github.event.pull_request.head.repo.full_name == github.repository }} secrets: ACTIONS_PAT: ${{ secrets.ACTIONS_PAT }}