Skip to content

add protection for when kernel_quantizer is None #371

add protection for when kernel_quantizer is None

add protection for when kernel_quantizer is None #371

on:
pull_request_target:
types: [labeled]
branches: [main]
name: Update branch on PR from fork
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
if: ${{ github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name && github.event.label.name == 'please test' }}
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Push changes
if: ${{ github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name && github.event.label.name == 'please test' }}
run: |
git checkout -b pr/${{ github.event.pull_request.number }}
git push --force origin pr/${{ github.event.pull_request.number }}