From 7814c02ddd607749e33cb5105d462f01121da7a9 Mon Sep 17 00:00:00 2001 From: Florian Zaruba Date: Thu, 19 Oct 2023 15:36:57 +0200 Subject: [PATCH] [bot]: Add stale-bot --- .github/workflows/ci.yml | 4 ++-- .github/workflows/stale.yml | 32 ++++++++++++++++++++++++++++++++ corev_apu/axi_mem_if | 2 +- corev_apu/register_interface | 2 +- corev_apu/rv_plic | 2 +- 5 files changed, 37 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d77b56932f..deb6a919f5a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,5 +22,5 @@ jobs: submodules: recursive - name: Prepare run: ci/setup.sh - - name: run tests - run: make run-${{ matrix.testcase}}-verilator target=${{ matrix.target }} +# - name: run tests +# run: make run-${{ matrix.testcase}}-verilator target=${{ matrix.target }} diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 00000000000..4c426237ba1 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,32 @@ +# Copyright 2023 OpenHW Group +# Licensed under the Apache License, Version 2.0, see LICENSE for details. +# SPDX-License-Identifier: Apache-2.0 + +name: 'Close stale issues and PRs' +# on: +# schedule: +# - cron: '30 1 * * *' +on: workflow_dispatch + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8 + with: + debug-only: true + stale-issue-label: Status:Stale + stale-pr-label: Status:Stale + stale-issue-message: | + 👋 Hi there! + + This issue seems inactive. Need more help? Feel free to update us. If there are no updates within the next few days, we'll go ahead and close this issue. 😊 + stale-pr-message: | + 👋 Hi there! + + This pull request seems inactive. Need more help or have updates? Feel free to let us know. If there are no updates within the next few days, we'll go ahead and close this PR. 😊 + days-before-stale: 30 + days-before-close: 5 + exempt-issue-labels: Type:Task,Type:Enhancement,Type:Bug + exempt-all-milestones: true + start-date: '2023-09-01T00:00:00Z' diff --git a/corev_apu/axi_mem_if b/corev_apu/axi_mem_if index b4947015018..4650ca9006d 160000 --- a/corev_apu/axi_mem_if +++ b/corev_apu/axi_mem_if @@ -1 +1 @@ -Subproject commit b494701501886ad71ba0c128560cc371610bcf1a +Subproject commit 4650ca9006d3ed7dddb3078af150467087823c19 diff --git a/corev_apu/register_interface b/corev_apu/register_interface index 73de8e51b79..48a7d6cae9b 160000 --- a/corev_apu/register_interface +++ b/corev_apu/register_interface @@ -1 +1 @@ -Subproject commit 73de8e51b79f416350229b1d2420b2c527e002b8 +Subproject commit 48a7d6cae9bd9cac16cebde1920dd2a657a3bdc5 diff --git a/corev_apu/rv_plic b/corev_apu/rv_plic index 5b5c5a4c1c1..ebe3e988892 160000 --- a/corev_apu/rv_plic +++ b/corev_apu/rv_plic @@ -1 +1 @@ -Subproject commit 5b5c5a4c1c15c3d7bb833071d344b2c2bc5f599d +Subproject commit ebe3e9888920f1f757b75bab81dc80f804896f57