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

[GitHub] Add an action closing old discussion topics (using js) #4250

Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/close_old_discussion_topics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Close Old Discussion Topics
on:
schedule:
# Schedule this action to run periodically (e.g., daily)
- cron: "0 0 * * 1" # Run every week on Monday at midnight
workflow_dispatch:
pull_request:
types:
- labeled
- unlabeled

jobs:
check_title:
hugtalbot marked this conversation as resolved.
Show resolved Hide resolved
runs-on: ubuntu-latest
steps:
- name: Trigger remote action to close topics
uses: hugtalbot/close-old-discussion-topics@master
hugtalbot marked this conversation as resolved.
Show resolved Hide resolved
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
owner: sofa-framework
repository: sofa
uses: ./
1 change: 0 additions & 1 deletion .github/workflows/label-checker.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Label Checker
on:
pull_request:
Expand Down
Loading