Cover compression_level= for compression='lz4' #37
Workflow file for this run
This file contains hidden or 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: Request Copilot review | |
| on: | |
| pull_request_target: | |
| types: [opened, reopened, ready_for_review] | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| request-copilot-review: | |
| # Same-repo PRs only. author_association in the pull_request_target payload | |
| # reports CONTRIBUTOR for org members on same-repo branches, so head==base | |
| # is the reliable maintainer signal (it requires push access to the base repo). | |
| if: >- | |
| github.event.pull_request.draft == false && | |
| github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Request Copilot review | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| PR_NUMBER: ${{ github.event.pull_request.number }} | |
| REPO: ${{ github.repository }} | |
| run: | | |
| gh api \ | |
| --method POST \ | |
| -H "Accept: application/vnd.github+json" \ | |
| "/repos/${REPO}/pulls/${PR_NUMBER}/requested_reviewers" \ | |
| -f "reviewers[]=Copilot" |