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

Filter to not accept dependabot and updatecli branchs #4841

Merged
merged 1 commit into from Oct 5, 2023
Merged

Filter to not accept dependabot and updatecli branchs #4841

merged 1 commit into from Oct 5, 2023

Conversation

vitorsavian
Copy link
Contributor

@vitorsavian vitorsavian commented Oct 4, 2023

Proposed Changes

A filter in validate-release to not accept branchs that contains dependabot and updatecli

Types of Changes

  • Improvement

Verification

Create a branch with dependabot or update cli in our project

git checkout -b dependabot/testing

Push the branch

git push origin dependabot/testing

See the tag that are in the commit and then use

git branch --all -q --contains $YOUR_TAG_HERE | grep origin | grep -vE 'dependabot|updatecli|origin$|HEAD' | sed -e 's/^[[:space:]]*//'

You will not see any dependabot and updatecli branches

Testing

Linked Issues

User-Facing Change


Further Comments

@vitorsavian vitorsavian requested a review from a team as a code owner October 4, 2023 19:29
scripts/validate-release Outdated Show resolved Hide resolved
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
@vitorsavian vitorsavian merged commit 9e79849 into rancher:master Oct 5, 2023
2 checks passed
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.

None yet

3 participants