diff --git a/.github/workflows/close_old_discussion_topics.yml b/.github/workflows/close_old_discussion_topics.yml new file mode 100644 index 00000000000..c81a6f4ab3a --- /dev/null +++ b/.github/workflows/close_old_discussion_topics.yml @@ -0,0 +1,21 @@ +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: + close_old_discussion_topics: + runs-on: ubuntu-latest + steps: + - name: Trigger remote action to close topics + uses: hugtalbot/close-old-discussion-topics@master + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + owner: sofa-framework + repository: sofa \ No newline at end of file diff --git a/.github/workflows/label-checker.yml b/.github/workflows/label-checker.yml index 8c015e4dd1b..f088cb67e72 100644 --- a/.github/workflows/label-checker.yml +++ b/.github/workflows/label-checker.yml @@ -1,4 +1,3 @@ ---- name: Label Checker on: pull_request: