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

Implement GitHub Actions Workflow to Automatically Close Stale Issues #756

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mbkma
Copy link
Member

@mbkma mbkma commented Jun 3, 2024

This pull request introduces a new GitHub Actions workflow designed to automatically manage and close stale issues (issues where the last activity is older than 365 days) in our repository. This workflow will help us maintain a clean and manageable issue tracker by automatically marking issues as stale after a period of inactivity and subsequently closing them if no further activity occurs.

I plan to add this to every repo. Issues can still be labeled with a "do not stale" label, to prevent them from being automatically closed.

See https://docs.github.com/en/actions/managing-issues-and-pull-requests/closing-inactive-issues for a reference.

@mbkma mbkma changed the title add stale github actions workflow Implement GitHub Actions Workflow to Automatically Close Stale Issues Jun 3, 2024
@mbkma mbkma requested a review from a team June 3, 2024 20:20
@lukefromdc
Copy link
Member

What do others here think of this proposal? I have no problems with it myself, though I do not know of a way to test the actual code in question here short of a test issue followed by a year's delay to see what happens

@lukefromdc
Copy link
Member

We have a new GEM problem in Travis deployment:

$ rvm use $(travis_internal_ruby) --fuzzy do ruby -S gem uninstall -aIx dpl

/home/travis/.rvm/gems/ruby-3.3.1/gems/cl-1.2.4/lib/cl/opts.rb:112:in `block in taint': undefined method `taint' for an instance of String (NoMethodError)

          [key, self[key] && self[key].secret? ? value.taint : value]

                                                      ^^^^^^

	from /home/travis/.rvm/gems/ruby-3.3.1/gems/cl-1.2.4/lib/cl/opts.rb:111:in `each'

	from /home/travis/.rvm/gems/ruby-3.3.1/gems/cl-1.2.4/lib/cl/opts.rb:111:in `map'

	from /home/travis/.rvm/gems/ruby-3.3.1/gems/cl-1.2.4/lib/cl/opts.rb:111:in `taint'

	from /home/travis/.rvm/gems/ruby-3.3.1/gems/cl-1.2.4/lib/cl/opts.rb:25:in `apply'

	from /home/travis/.rvm/gems/ruby-3.3.1/gems/cl-1.2.4/lib/cl/cmd.rb:62:in `initialize'

	from /home/travis/.rvm/gems/ruby-3.3.1/gems/dpl-2.0.3.beta.4/lib/dpl/provider.rb:196:in `initialize'

	from /home/travis/.rvm/gems/ruby-3.3.1/gems/cl-1.2.4/lib/cl/runner/default.rb:32:in `new'

	from /home/travis/.rvm/gems/ruby-3.3.1/gems/cl-1.2.4/lib/cl/runner/default.rb:32:in `cmd'

	from /home/travis/.rvm/gems/ruby-3.3.1/gems/cl-1.2.4/lib/cl/runner/default.rb:26:in `run'

	from /home/travis/.rvm/gems/ruby-3.3.1/gems/cl-1.2.4/lib/cl.rb:34:in `run'

	from /home/travis/.rvm/gems/ruby-3.3.1/gems/dpl-2.0.3.beta.4/lib/dpl/cli.rb:11:in `run'

	from /home/travis/.rvm/gems/ruby-3.3.1/gems/dpl-2.0.3.beta.4/bin/dpl:9:in `<top (required)>'

	from /home/travis/.rvm/gems/ruby-3.3.1/bin/dpl:25:in `load'

	from /home/travis/.rvm/gems/ruby-3.3.1/bin/dpl:25:in `<main>'

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