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

fix(ci): add docs/source/ folder to the excludes of the Sync Upstream workflow #482

Merged
merged 1 commit into from
Apr 2, 2023

Conversation

jenstroeger
Copy link
Owner

@jenstroeger jenstroeger commented Feb 25, 2023

Considering we have the previous version of the template:

CURRENT_VERSION=$(test -f repo/.github/workflows/.template_version \
&& cat repo/.github/workflows/.template_version || echo "v0.0.0")

would it make sense to check if a branch for that previous version exists, and close the PR and delete that now older branch? Or, if not, mark the older PR as a duplicate of the new PR?

The new branch that’s being opened should include all changes from that older branch 🤔

Also, should we add --reviewer to the PR creation?

@jenstroeger jenstroeger force-pushed the minor-improvement-to-sync-upstream branch from 1f02e34 to 3d69416 Compare April 2, 2023 21:01
@behnazh
Copy link
Collaborator

behnazh commented Apr 2, 2023

would it make sense to check if a branch for that previous version exists, and close the PR and delete that now older branch? Or, if not, mark the older PR as a duplicate of the new PR?

The new branch that’s being opened should include all changes from that older branch thinking

Yes, the new PR should technically supersede the previous one and close it.

Also, should we add --reviewer to the PR creation?

It's better to use the CODEOWNERS feature in the downstream repo to add the relevant reviewers for the changed files.

@jenstroeger jenstroeger merged commit 730924c into staging Apr 2, 2023
@jenstroeger jenstroeger deleted the minor-improvement-to-sync-upstream branch April 2, 2023 23:29
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