Skip to content

rm np_config.enable_numpy_behavior() #495

rm np_config.enable_numpy_behavior()

rm np_config.enable_numpy_behavior() #495

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 }}