Skip to content

Commit 964b21a

Browse files
authored
Merge branch 'main' into dependabot/pip/pip-531eab774f
2 parents fc6aa7d + 96e739d commit 964b21a

39 files changed

+54
-55
lines changed

.github/workflows/stale-repos.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,9 @@
1616
name: stale repo identifier
1717
"on":
1818
workflow_dispatch:
19-
push:
20-
branches:
21-
- main
2219
schedule:
2320
- cron: "0 1 1 * *" # Runs monthly: at 01:00 UTC on the 1st day of every month
2421

25-
permissions:
26-
contents: read
27-
issues: write
28-
2922
jobs:
3023
build:
3124
name: Stale repo identifier
@@ -38,10 +31,10 @@ jobs:
3831
contents: read
3932

4033
steps:
41-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@v6
4235

4336
- name: Run stale_repos tool
44-
uses: github/stale-repos@v2.1.3
37+
uses: github/stale-repos@v8.0.3
4538
env:
4639
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4740
ORGANIZATION: SovereignCloudStack
@@ -53,7 +46,7 @@ jobs:
5346
run: mv stale_repos.md stale_repos_${{ matrix.days }}.md
5447

5548
- name: Upload stale report artifact
56-
uses: actions/upload-artifact@v4
49+
uses: actions/upload-artifact@v5
5750
with:
5851
name: stale_repos_report_${{ matrix.days }}
5952
path: stale_repos_${{ matrix.days }}.md
@@ -64,35 +57,41 @@ jobs:
6457
needs: build # Runs after all matrix jobs finish
6558

6659
permissions:
60+
contents: write
6761
issues: write
6862

6963
steps:
70-
- uses: actions/checkout@v4
64+
- uses: actions/checkout@v6
7165

7266
- name: Download all stale report artifacts
73-
uses: actions/download-artifact@v4
67+
uses: actions/download-artifact@v6
7468
with:
7569
path: stale_reports
7670

7771
- name: Merge reports
7872
run: |
79-
echo "# Stale Repository Report" > final_stale_repos.md
73+
echo "# Autogenerated Stale Repository Report " > final_stale_repos.md
74+
echo "### Do not close this issue - it is autogenerated by the `stale repo identifier` action" >> final_stale_repos.md
75+
echo "### Two thresholds are used - **335** days and **365** days - in accordance with the standard: https://github.com/SovereignCloudStack/standards/blob/main/Standards/scs-0006-v1-organization-management.md" >> final_stale_repos.md
8076
for file in stale_reports/**/stale_repos_*.md; do
8177
cat "$file" >> final_stale_repos.md
8278
echo "" >> final_stale_repos.md
8379
done
8480
8581
- name: Check for the stale report issue
8682
run: |
87-
ISSUE_NUMBER=$(gh search issues "Stale repository report" --match title --json number --jq ".[0].number")
83+
ISSUE_NUMBER=$(gh search issues "Autogenerated Stale Repository Report (DO NOT CLOSE)" --match title --json number --jq ".[0].number")
8884
echo "issue_number=$ISSUE_NUMBER" >> "$GITHUB_ENV"
8985
env:
9086
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9187

9288
- name: Create or update issue
93-
uses: peter-evans/create-issue-from-file@v5
89+
uses: peter-evans/create-issue-from-file@v6
9490
with:
9591
issue-number: ${{ env.issue_number }}
96-
title: Stale repository report
92+
title: Autogenerated Stale Repository Report (DO NOT CLOSE)
9793
content-filepath: ./final_stale_repos.md
98-
token: ${{ secrets.GITHUB_TOKEN }}
94+
# FIXME: GITHUB_TOKEN does not work on forks (including this repo).
95+
# See: https://github.com/peter-evans/create-issue-from-file/issues/1673
96+
# Remove the current PAT workaround and implement a better solution.
97+
token: ${{ secrets.STALE_PAT }}

orgs/SovereignCloudStack/data.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ members:
277277
- name: Jan Klare
278278
login: jklare
279279
- name: Arno Schneider
280-
login: arnoschneidunia
280+
login: schneidarno
281281
- name: Lisa Seifert
282282
login: selis-osba
283283

orgs/SovereignCloudStack/repositories/capi_jsgen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ capi-jsgen:
55
homepage: "https://cluster-gen.moin.k8s.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/central-api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ central-api:
44
description: 'MVP for SCS Central API'
55
homepage: 'https://scs.community/'
66
topics: []
7-
archived: false
7+
archived: true
88
has_issues: true
99
has_projects: false
1010
has_wiki: false

orgs/SovereignCloudStack/repositories/cephadm-rookify-testsetup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ cephadm-rookify-testsetup:
77
- ceph
88
- k8s
99
- rookify
10-
archived: false
10+
archived: true
1111
has_issues: true
1212
has_projects: false
1313
has_wiki: true

orgs/SovereignCloudStack/repositories/cloud-provider-openstack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cloud-provider-openstack:
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/cluster-gen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cluster-gen:
55
homepage: 'https://cluster-gen.moin.k8s.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-stack-provider-openstack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cluster-stack-provider-openstack:
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/container-images.yml

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

orgs/SovereignCloudStack/repositories/csctl-plugin-openstack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ csctl-plugin-openstack:
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

0 commit comments

Comments
 (0)