Skip to content

Commit

Permalink
Update close-dormant-discussions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SumitKumar-17 authored Aug 30, 2024
1 parent 6c5d1b6 commit 6a51858
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/close-dormant-discussions.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
name: Close out dormant discussions
# name: Close out dormant discussions

on:
workflow_dispatch:
schedule:
# At 01:23 every day
- cron: '23 1 * * *'
# on:
# workflow_dispatch:
# schedule:
# # At 01:23 every day
# - cron: '23 1 * * *'

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
discussions: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
# jobs:
# build:
# runs-on: ubuntu-latest
# permissions:
# contents: read
# discussions: write
# steps:
# - name: Checkout Repository
# uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
# - name: Set up Ruby
# uses: ruby/setup-ruby@v1

- name: Bundle install
run: bundle install
# - name: Bundle install
# run: bundle install

- name: Close out discussions
run: .github/actions/close
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Close out discussions
# run: .github/actions/close
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6a51858

Please sign in to comment.