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

automate repo cleanup #789

Merged
merged 1 commit into from
Sep 26, 2023
Merged

automate repo cleanup #789

merged 1 commit into from
Sep 26, 2023

Conversation

emmyoop
Copy link
Member

@emmyoop emmyoop commented Sep 26, 2023

resolves dbt-labs/actions#78
docs dbt-labs/docs.getdbt.com/#

Problem

Automated release and branch cutting has cluttered the repo with stray branches and draft releases.

Solution

  • Delete branches matching patterns from releasing and cutting new branches: branch: ["cutting_release_branch/*", "prep-release/*"]
  • Delete releases in draft status

This will run every Saturday on a schedule and can also be manually submitted. Running on Saturday will prevent this from colliding with an actual release mid-processing since we do no cut new releases on the weekend.

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

@emmyoop emmyoop added the Skip Changelog Skips GHA to check for changelog file label Sep 26, 2023
@emmyoop emmyoop requested a review from a team as a code owner September 26, 2023 14:52
@cla-bot cla-bot bot added the cla:yes label Sep 26, 2023
@colin-rogers-dbt colin-rogers-dbt merged commit a181a7d into main Sep 26, 2023
35 checks passed
@colin-rogers-dbt colin-rogers-dbt deleted the er/repo-cleanup branch September 26, 2023 16:49
philippe-boyd-maxa pushed a commit to maxa-ai/dbt-snowflake that referenced this pull request Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla:yes Skip Changelog Skips GHA to check for changelog file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CT-2146] Reusable Workflow for Branch/Release Cleanup
2 participants