From a1bbde013793938e8fb34280eb8e0070ca2dcc64 Mon Sep 17 00:00:00 2001 From: uwe-mayer Date: Fri, 8 May 2026 11:23:28 +0200 Subject: [PATCH 1/2] feat(actions): add common issue lifecycle workflows Signed-off-by: uwe-mayer --- .github/workflows/issue-project-sync.yml | 13 +++++++++++++ .github/workflows/issue-triage.yml | 10 ++++++++++ CONTRIBUTING.md | 14 ++++++++++++-- 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/issue-project-sync.yml create mode 100644 .github/workflows/issue-triage.yml diff --git a/.github/workflows/issue-project-sync.yml b/.github/workflows/issue-project-sync.yml new file mode 100644 index 0000000..c11fcd7 --- /dev/null +++ b/.github/workflows/issue-project-sync.yml @@ -0,0 +1,13 @@ +name: Issue Project Sync +on: + issues: + types: [labeled] + +jobs: + sync: + if: github.event.label.name == 'backlog' + runs-on: ubuntu-latest + steps: + - uses: cloudoperators/common/workflows/issue-project-sync@main + with: + GH_TOKEN: ${{ secrets.GH_PROJECT_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml new file mode 100644 index 0000000..72c746c --- /dev/null +++ b/.github/workflows/issue-triage.yml @@ -0,0 +1,10 @@ +name: Issue Triage +on: + issues: + types: [opened] + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: cloudoperators/common/workflows/issue-triage@main \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index aed3868..0453452 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -33,6 +33,16 @@ The following rule governs code contributions: ## Issues and Planning -* We use GitHub issues to track bugs and enhancement requests. +We follow a shared issue lifecycle across all `cloudoperators` repositories. See the **[Issue Lifecycle documentation](https://github.com/cloudoperators/common/blob/main/ISSUE_LIFECYCLE.md)** for the full process including: -* Please provide as much context as possible when you open an issue. The information you provide must be comprehensive enough to reproduce that issue for the assignee. +* Automatic triage labeling +* Triage decision matrix +* Definition of Ready +* Refinement workflow +* Sprint/quarter planning + +Quick links: + +* [Issues needing triage (org-wide)](https://github.com/issues?q=org%3Acloudoperators+label%3Aneeds-triage+is%3Aopen+sort%3Acreated-asc) +* [Issues ready to pick up (`backlog`)](https://github.com/cloudoperators/cloudctl/issues?q=is%3Aopen+is%3Aissue+label%3Abacklog) +* [Project board](https://github.com/orgs/cloudoperators/projects/9) \ No newline at end of file From d4c72a6ade6cc58ac457fdbf96f111b6762626df Mon Sep 17 00:00:00 2001 From: uwe-mayer Date: Fri, 8 May 2026 11:31:02 +0200 Subject: [PATCH 2/2] fix: add explicit permissions to issue workflows Signed-off-by: uwe-mayer --- .github/workflows/issue-project-sync.yml | 3 +++ .github/workflows/issue-triage.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/issue-project-sync.yml b/.github/workflows/issue-project-sync.yml index c11fcd7..f0e4266 100644 --- a/.github/workflows/issue-project-sync.yml +++ b/.github/workflows/issue-project-sync.yml @@ -3,6 +3,9 @@ on: issues: types: [labeled] +permissions: + issues: read + jobs: sync: if: github.event.label.name == 'backlog' diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml index 72c746c..75ffe50 100644 --- a/.github/workflows/issue-triage.yml +++ b/.github/workflows/issue-triage.yml @@ -3,6 +3,9 @@ on: issues: types: [opened] +permissions: + issues: write + jobs: triage: runs-on: ubuntu-latest