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 stalebot to label/close stale PRs and issues #1288

Merged
merged 6 commits into from
Oct 30, 2024
Merged

Add stalebot to label/close stale PRs and issues #1288

merged 6 commits into from
Oct 30, 2024

Conversation

tatiana
Copy link
Collaborator

@tatiana tatiana commented Oct 30, 2024

As Cosmos grows in popularity, it is important that we automate a few actions:

  • labelling issues as stale
  • labelling PRs as stale
  • closing stale PRs

The goal of this PR is to accomplish this. As a starting point, my suggestion is that we don't mark issues as stale, but I'm open to changing this.

An example of a successful run:
https://github.com/astronomer/astronomer-cosmos/actions/runs/11590467421/job/32268097259

Copy link

netlify bot commented Oct 30, 2024

Deploy Preview for sunny-pastelito-5ecb04 ready!

Name Link
🔨 Latest commit ecb6664
🔍 Latest deploy log https://app.netlify.com/sites/sunny-pastelito-5ecb04/deploys/67223b858880ef0008ba4831
😎 Deploy Preview https://deploy-preview-1288--sunny-pastelito-5ecb04.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

.github/workflows/stale.yml Outdated Show resolved Hide resolved
@tatiana tatiana marked this pull request as ready for review October 30, 2024 09:54
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Oct 30, 2024
@dosubot dosubot bot added the area:ci Related to CI, Github Actions, or other continuous integration tools label Oct 30, 2024
Copy link
Contributor

@pankajkoti pankajkoti left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for adding this! Would definitely help automatically close stale PRs

.github/workflows/stale.yml Outdated Show resolved Hide resolved
.github/workflows/stale.yml Outdated Show resolved Hide resolved
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 30, 2024
@tatiana tatiana merged commit ae94975 into main Oct 30, 2024
1 check passed
@tatiana tatiana deleted the stale-bot branch October 30, 2024 13:58
@tatiana tatiana added this to the Cosmos 1.8.0 milestone Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:ci Related to CI, Github Actions, or other continuous integration tools lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants