10000 Regression.yml to check agaist GITHUB_BASE_REF by carlopi · Pull Request #7877 · duckdb/duckdb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Regression.yml to check agaist GITHUB_BASE_REF #7877

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

Merged
merged 1 commit into from
Jun 8, 2023

Conversation

carlopi
Copy link
Contributor
@carlopi carlopi commented Jun 8, 2023

GITHUB_BASE_REF will be equal to the target branch for pull requests, and undefined, otherwise.
(docs: https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables)

Given we use the bash syntax to use variable or default (= to 'master'), this should make that pull requests against feature (or any other branch) will be tested only that given branch.

I am waiting for another round of testing on my fork, but this should address the regression on 'feature' branch.

GITHUB_BASE_REF will be equal to the target branch for pull requests, and
undefined, otherwise.
(docs: https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables)

Given we use the bash syntax to use variable or default
(= to 'master'), this should make that pull requests against feature (or any
other branch) will be tested only that given branch.
@carlopi
Copy link
Contributor Author
carlopi commented Jun 8, 2023

@Mytherin Mytherin merged commit bdb7524 into duckdb:master Jun 8, 2023
@Mytherin
Copy link
Collaborator
Mytherin commented Jun 8, 2023

Thanks for picking this up! LGTM

@carlopi carlopi deleted the CIregression branch June 13, 2023 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0