Skip to content

Commit 9f35b40

Browse files
authored
Merge branch 'main' into dependabot/pip/pip-1099dc578e
2 parents a0bc090 + b347f0f commit 9f35b40

File tree

7 files changed

+165
-18
lines changed

7 files changed

+165
-18
lines changed

.github/workflows/stale-repos.yml

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
---
2+
# Stale Repository Identifier
3+
# This GitHub Action implements the repository activity monitoring requirements outlined in the Sovereign Cloud Stack Procedural Standard (SCS-0006).
4+
# Functionality
5+
# - Identifies repositories within the SovereignCloudStack organization that have been inactive for 335 or 365 days
6+
# - Reports stale repositories based on recent pushes, releases, and pull requests
7+
# - Automatically creates or updates a GitHub issue with the stale repository report
8+
# - Runs monthly (on the 1st at 01:00 UTC) and can be manually triggered
9+
#
10+
# Limitations
11+
# - The action does not exclude auto-generated PRs (e.g., Renovate, Dependabot)
12+
# - It does not handle repositories with no remaining codeowners as stale
13+
#
14+
# TODO: These limitations must be implemented via post-processing or contributed upstream.
15+
16+
name: stale repo identifier
17+
"on":
18+
workflow_dispatch:
19+
push:
20+
branches:
21+
- main
22+
schedule:
23+
- cron: "0 1 1 * *" # Runs monthly: at 01:00 UTC on the 1st day of every month
24+
25+
permissions:
26+
contents: read
27+
issues: write
28+
29+
jobs:
30+
build:
31+
name: Stale repo identifier
32+
runs-on: ubuntu-latest
33+
strategy:
34+
matrix:
35+
days: [335, 365]
36+
37+
permissions:
38+
contents: read
39+
40+
steps:
41+
- uses: actions/checkout@v4
42+
43+
- name: Run stale_repos tool
44+
uses: github/[email protected]
45+
env:
46+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
ORGANIZATION: SovereignCloudStack
48+
INACTIVE_DAYS: ${{ matrix.days }}
49+
ACTIVITY_METHOD: "pushed"
50+
ADDITIONAL_METRICS: "release,pr"
51+
52+
- name: Rename report file
53+
run: mv stale_repos.md stale_repos_${{ matrix.days }}.md
54+
55+
- name: Upload stale report artifact
56+
uses: actions/upload-artifact@v4
57+
with:
58+
name: stale_repos_report_${{ matrix.days }}
59+
path: stale_repos_${{ matrix.days }}.md
60+
61+
create-issue:
62+
name: Create or update stale repo issue
63+
runs-on: ubuntu-latest
64+
needs: build # Runs after all matrix jobs finish
65+
66+
permissions:
67+
issues: write
68+
69+
steps:
70+
- uses: actions/checkout@v4
71+
72+
- name: Download all stale report artifacts
73+
uses: actions/download-artifact@v4
74+
with:
75+
path: stale_reports
76+
77+
- name: Merge reports
78+
run: |
79+
echo "# Stale Repository Report" > final_stale_repos.md
80+
for file in stale_reports/**/stale_repos_*.md; do
81+
cat "$file" >> final_stale_repos.md
82+
echo "" >> final_stale_repos.md
83+
done
84+
85+
- name: Check for the stale report issue
86+
run: |
87+
ISSUE_NUMBER=$(gh search issues "Stale repository report" --match title --json number --jq ".[0].number")
88+
echo "issue_number=$ISSUE_NUMBER" >> "$GITHUB_ENV"
89+
env:
90+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
91+
92+
- name: Create or update issue
93+
uses: peter-evans/create-issue-from-file@v5
94+
with:
95+
issue-number: ${{ env.issue_number }}
96+
title: Stale repository report
97+
content-filepath: ./final_stale_repos.md
98+
token: ${{ secrets.GITHUB_TOKEN }}

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @org/project-board

config.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
22
milestones:
3-
- 'R2 (v3.0.0)'
4-
- 'R3 (v4.0.0)'
5-
- 'R4 (v5.0.0)'
6-
- 'R5 (v6.0.0)'
7-
- 'R6 (v7.0.0)'
8-
- 'R7 (v8.0.0)'
9-
- 'R8 (v9.0.0)'
3+
- "R2 (v3.0.0)"
4+
- "R3 (v4.0.0)"
5+
- "R4 (v5.0.0)"
6+
- "R5 (v6.0.0)"
7+
- "R6 (v7.0.0)"
8+
- "R7 (v8.0.0)"
9+
- "R8 (v9.0.0)"
10+
- "R9 (v10.0.0)"
1011

1112
labels:
1213
- name: bug
@@ -207,6 +208,9 @@ labels:
207208
- name: "kaas-hackathon"
208209
description: ""
209210
color: "0dce67"
211+
- name: "hackathon"
212+
description: ""
213+
color: "8d3ef6"
210214
# Sprint names
211215
- name: "Sprint Amsterdam"
212216
description: "Sprint Amsterdam (2023, cwk 16+17)"

orgs/SovereignCloudStack/data.yaml

Lines changed: 50 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,16 +85,14 @@ members:
8585
login: mxmxchere
8686
- name: Mario Minners
8787
login: mario-minners
88-
- name: Paul Hildebrandt
89-
login: paulphys
9088
- name: Andre Machowiak
9189
login: nerdicbynature
9290
- name: Aleksandr Gerasimenko
9391
login: alexgesser
9492
- name: Toens Bueker
9593
login: neuroserve
9694
- name: Oliver Kautz
97-
login: o-otte
95+
login: okautz
9896
- name: Sebastian Kaupe
9997
login: snkaupe
10098
- name: Roy Farrell
@@ -266,6 +264,20 @@ members:
266264
login: janhorstmann
267265
- name: Karsten Samaschke
268266
login: ksamaschke
267+
- name: Vinicius Zavam
268+
login: egypcio
269+
- name: Marvin Frommhold
270+
login: depressiveRobot
271+
- name: Michel Raabe
272+
login: rrmichel
273+
- name: Daniel Gerber
274+
login: gerbsen
275+
- name: Friedrich Zahn
276+
login: toothstone
277+
- name: Jan Klare
278+
login: jklare
279+
- name: Arno Schneider
280+
login: arnoschneidunia
269281

270282
# ==========================
271283
teams:
@@ -315,6 +327,7 @@ teams:
315327
- b1-luettje
316328
- brueggemann
317329
- boekhorstb1
330+
- rrmichel
318331
- slug: "cloud-and-heat"
319332
description: "Cloud&Heat Technologies GmbH"
320333
privacy: closed
@@ -338,7 +351,7 @@ teams:
338351
description: "GONICUS GmbH"
339352
privacy: closed
340353
maintainer:
341-
- o-otte
354+
- okautz
342355
member:
343356
- joshmue
344357
- JoshuaI96
@@ -358,6 +371,7 @@ teams:
358371
member:
359372
- BiancaHollery
360373
- MariusQuabeck
374+
- depressiveRobot
361375
- slug: "osism"
362376
description: "OSISM GmbH"
363377
privacy: closed
@@ -369,11 +383,11 @@ teams:
369383
- lindenb1
370384
- sbstnnmnn
371385
- janhorstmann
386+
- jklare
372387
- slug: "plusserver"
373388
description: "plusserver GmbH"
374389
privacy: closed
375390
maintainer:
376-
- frosty-geek
377391
- neuroserve
378392
member:
379393
- maliblatt
@@ -402,12 +416,12 @@ teams:
402416
privacy: closed
403417
maintainer:
404418
- jklippel
419+
- scoopex
405420
member:
406421
- harmathy
407422
- mauhau
408423
- belgeron
409424
- varkeen
410-
- scoopex
411425
- jschoone
412426
- maxwolfs
413427
- slug: "univention"
@@ -544,7 +558,7 @@ teams:
544558
description: "Container Monitoring / IaC / CI / Deployment Automation"
545559
privacy: closed
546560
maintainer:
547-
- o-otte
561+
- okautz
548562
member:
549563
- joshmue
550564
- JoshuaI96
@@ -610,6 +624,7 @@ teams:
610624
- scoopex
611625
- fkr
612626
- fzakfeld
627+
- rrmichel
613628
member:
614629
- berendt
615630
- zuse-z3
@@ -634,7 +649,7 @@ teams:
634649
description: "Admins of the Zuul CI System"
635650
privacy: closed
636651
maintainer:
637-
- o-otte
652+
- okautz
638653
- PixelPhantomX
639654
member:
640655
- bitkeks
@@ -652,6 +667,32 @@ teams:
652667
privacy: closed
653668
maintainer:
654669
- cpt-kernel-afk
670+
- slug: "project-board"
671+
description: "Members of Board"
672+
privacy: closed
673+
maintainer:
674+
- berendt
675+
- fkr
676+
- garloff
677+
- jschoone
678+
- matofeder
679+
- slug: "ECO-DIGIT"
680+
description: "Colleagues from ECO:DIGIT project"
681+
privacy: closed
682+
maintainer:
683+
- zuse-z3
684+
member:
685+
- fkr
686+
- egypcio
687+
- slug: "alasca-focis"
688+
description: "Colleagues from ALASCA FOCIS"
689+
privacy: closed
690+
maintainer:
691+
- mbuechse
692+
member:
693+
- gerbsen
694+
- toothstone
695+
655696

656697
# ==========================
657698
branch_protection_templates:
@@ -685,7 +726,7 @@ branch_protection_templates:
685726
users: [] # list of members or empty list
686727
teams: [] # list of teams or empty list
687728
dismiss_stale_reviews: false
688-
require_code_owner_reviews: false
729+
require_code_owner_reviews: true
689730
required_approving_review_count: 1
690731
restrictions:
691732
users: [] # list of members or empty list

orgs/SovereignCloudStack/repositories/cluster-stacks-demo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cluster-stacks-demo:
55
homepage: 'https://scs.community/'
66
topics:
77
- k8s
8-
archived: false
8+
archived: true
99
has_issues: true
1010
has_projects: false
1111
has_wiki: false

orgs/SovereignCloudStack/repositories/cluster-stacks-playground.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cluster-stacks-playground:
55
homepage: 'https://scs.community/contribute/'
66
topics:
77
- community
8-
archived: false
8+
archived: true
99
has_issues: true
1010
has_projects: false
1111
has_wiki: false

orgs/SovereignCloudStack/repositories/openstack-workload-generator.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ openstack-workload-generator:
2020
teams:
2121
- slug: "osba"
2222
permission: "admin"
23+
- slug: "uhurutec"
24+
permission: "maintain"
25+
2326
collaborators: []
2427
branch_protections:
2528
- branch: "main"

0 commit comments

Comments
 (0)