Skip to content

Snow-1852882 Add support for df.collect() #5737

Snow-1852882 Add support for df.collect()

Snow-1852882 Add support for df.collect() #5737

name: Request Local Testing approval if necessary
on:
pull_request:
branches: '**'
jobs:
request_review:
if: ${{!contains(toJSON(github.event.pull_request.requested_teams), 'local-testing')}}
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Request Local Testing review if PR contains local_testing_mode
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
url: ${{ github.event.pull_request.html_url }}
run: |
(gh pr diff "$url" | grep "^+" | grep "local_testing_mode" && gh pr comment "$url" --body "Seems like your changes contain some Local Testing changes, please request review from @snowflakedb/local-testing") || echo "PR does not seem to contain Local Testing changes"