Skip to content

Cover compression_level= for compression='lz4' #37

Cover compression_level= for compression='lz4'

Cover compression_level= for compression='lz4' #37

Workflow file for this run

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"