Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a merge gate as a reminder for necessary sp connector changes #1701

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sfc-gh-jdu
Copy link
Collaborator

@sfc-gh-jdu sfc-gh-jdu commented Aug 17, 2023

If we are changing certain files in connector, you will get a failed merge gate "Stored Procedure Change Check". If you think this change doesn't need to be ported to SP connector or you are already aware of it and created a PR, add NO-CHANGE-IN-SP label to skip the merge gate.

@sfc-gh-jdu sfc-gh-jdu changed the title Test SP gate Add a merge gate as a reminder for necessary sp connector changes Aug 17, 2023
@sfc-gh-jdu sfc-gh-jdu added the NO-CHANGELOG-UPDATES This pull request does not need to update CHANGELOG.md label Aug 17, 2023
paths:
- 'src/snowflake/connector/cpp/**'
- 'src/snowflake/connector/*.py*'
- '!src/snowflake/connector/*ocsp*'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can add more files here if they aren't useful for SP

@sfc-gh-jdu sfc-gh-jdu marked this pull request as ready for review August 17, 2023 23:09
@sfc-gh-jdu sfc-gh-jdu requested review from a team, sfc-gh-yixie and sfc-gh-evandenberg and removed request for a team August 17, 2023 23:09
jobs:
check_sp_change:
runs-on: ubuntu-latest
if: ${{!contains(github.event.pull_request.labels.*.name, 'NO-CHANGE-IN-SP')}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens for changes that need to be ported? Should we check if the comment/description has a PR link of certain format?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NO-CHANGELOG-UPDATES This pull request does not need to update CHANGELOG.md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants