Skip to content

Delete expired invites #149

Delete expired invites

Delete expired invites #149

name: Delete expired invites
on:
workflow_dispatch:
schedule:
- cron: "0 23 * * 1,4"
env:
RUBY_VERSION: 3.1.0
jobs:
delete-expired-invites:
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/delete-expired-invites.rb
env:
OPS_BOT_TOKEN: ${{ secrets.OPS_BOT_TOKEN }}
LOG_LEVEL: "info"