This repository was archived by the owner on Jan 31, 2025. It is now read-only.
Close expired issues #217
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Close expired issues | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 23 * * 2,5" | |
env: | |
RUBY_VERSION: 3.1.0 | |
jobs: | |
close-expired-issues: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ env.RUBY_VERSION }} | |
bundler-cache: true | |
- run: bundle install | |
- run: bin/close-expired-issues.rb | |
env: | |
OPS_BOT_TOKEN: ${{ secrets.MOJ_COLLABORATORS_GENERAL_ADMIN_BOT_PAT }} | |
LOG_LEVEL: "info" |