From 1a5f2855a6a3d65c4a7791ca90f4613861f2afe6 Mon Sep 17 00:00:00 2001 From: Paul Latzelsperger Date: Wed, 17 Jul 2024 15:20:37 +0200 Subject: [PATCH] feat(ci): add stalebot --- .github/workflows/stale-bot.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/stale-bot.yml diff --git a/.github/workflows/stale-bot.yml b/.github/workflows/stale-bot.yml new file mode 100644 index 00000000..588150f3 --- /dev/null +++ b/.github/workflows/stale-bot.yml @@ -0,0 +1,31 @@ +# +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License, Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# + +name: Close Inactive Issues + +on: + schedule: + - cron: "30 1 * * *" # once a day (1:30 UTC) + workflow_dispatch: # allow manual trigger + +jobs: + trigger-workflow: + uses: eclipse-edc/.github/.github/workflows/stale-bot.yml@main + secrets: + envGH: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file