From ef4f2224c9b48739a4949d73ec954d6bbce7dcaa Mon Sep 17 00:00:00 2001 From: Jared Weinfurtner Date: Thu, 24 Nov 2022 16:35:39 +0100 Subject: [PATCH] stale issue cleanup github action w/ reusable workflow (#38) * stale issue cleanup github action w/ reusable workflow * auto labeling github action for #42 Signed-off-by: Weinfurtner Jared (CI/SIX-EU) Signed-off-by: Sebastian Becker Co-authored-by: Sebastian Becker --- .github/workflows/auto-labeler.yml | 23 +++++++++++++++++++++++ .github/workflows/stale-issue-cleanup.yml | 22 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 .github/workflows/auto-labeler.yml create mode 100644 .github/workflows/stale-issue-cleanup.yml diff --git a/.github/workflows/auto-labeler.yml b/.github/workflows/auto-labeler.yml new file mode 100644 index 0000000..f422a10 --- /dev/null +++ b/.github/workflows/auto-labeler.yml @@ -0,0 +1,23 @@ +# +# Copyright (c) 2022 - for information on the respective copyright owner +# see the NOTICE file and/or the repository https://github.com/carbynestack/amphora. +# +# SPDX-License-Identifier: Apache-2.0 +# +name: 'Auto Labeler' + +on: + + # Allow workflow to be triggered manually + workflow_dispatch: + + issues: + types: + - reopened + - opened + +jobs: + + # re-usable workflow @see https://docs.github.com/en/actions/using-workflows/reusing-workflows + auto-labeling: + uses: carbynestack/.github/.github/workflows/auto-labeler.yml@master diff --git a/.github/workflows/stale-issue-cleanup.yml b/.github/workflows/stale-issue-cleanup.yml new file mode 100644 index 0000000..53b00aa --- /dev/null +++ b/.github/workflows/stale-issue-cleanup.yml @@ -0,0 +1,22 @@ +# +# Copyright (c) 2022 - for information on the respective copyright owner +# see the NOTICE file and/or the repository https://github.com/carbynestack/amphora. +# +# SPDX-License-Identifier: Apache-2.0 +# +name: 'Stale Issue Cleanup' + +on: + + # Allow workflow to be triggered manually + workflow_dispatch: + + # Trigger at 1:00 AM each day + schedule: + - cron: '0 1 * * *' + +jobs: + + # re-usable workflow @see https://docs.github.com/en/actions/using-workflows/reusing-workflows + stale-issue-cleanup: + uses: carbynestack/.github/.github/workflows/stale-actions.yml@master