Skip to content

Commit

Permalink
Feature/stale issue cleanup (#41)
Browse files Browse the repository at this point in the history
* stale issue cleanup github action w/ reusable workflow

Signed-off-by: Weinfurtner Jared (CI/SIX-EU) <[email protected]>
Signed-off-by: Sven Trieflinger <[email protected]>
  • Loading branch information
jaredweinfurtner authored Nov 24, 2022
1 parent 1f46104 commit e95e423
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/auto-labeler.yml
Original file line number Diff line number Diff line change
@@ -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/common.
#
# 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
22 changes: 22 additions & 0 deletions .github/workflows/stale-issue-cleanup.yml
Original file line number Diff line number Diff line change
@@ -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/common.
#
# 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

0 comments on commit e95e423

Please sign in to comment.