From c86512590dd07d85ce740007fbd8a823a35e3ca1 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 | 40 ++++++++++++++++++------------------ .github/workflows/stale.yml | 32 +++++++++++++++++++++++++++++ corev_apu/axi_mem_if | 2 +- corev_apu/register_interface | 2 +- corev_apu/rv_plic | 2 +- 5 files changed, 55 insertions(+), 23 deletions(-) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d77b56932f..8625ccfffad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,24 +3,24 @@ # SPDX-License-Identifier: Apache-2.0 # Run functional regression checks -name: ci -on: [push, pull_request] +# name: ci +# on: [push, pull_request] -jobs: - riscv-tests: - name: riscv-tests - runs-on: ubuntu-latest - strategy: - matrix: - testcase: [asm-tests, mul, amo, fp, benchmarks] - target: [cv64a6_imafdc_sv39, cv64a6_imafdc_sv39_wb] - env: - RISCV: /riscv - steps: - - uses: actions/checkout@v2 - with: - submodules: recursive - - name: Prepare - run: ci/setup.sh - - name: run tests - run: make run-${{ matrix.testcase}}-verilator target=${{ matrix.target }} +# jobs: +# riscv-tests: +# name: riscv-tests +# runs-on: ubuntu-latest +# strategy: +# matrix: +# testcase: [asm-tests, mul, amo, fp, benchmarks] +# target: [cv64a6_imafdc_sv39, cv64a6_imafdc_sv39_wb] +# env: +# RISCV: /riscv +# steps: +# - uses: actions/checkout@v2 +# with: +# submodules: recursive +# - name: Prepare +# run: ci/setup.sh +# - 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