Skip to content

ci: add PR labelling automation (from armbian/build) - #576

Merged
igorpecovnik merged 1 commit into
rk-6.1-rkr7.2from
labelling-automation
Oct 7, 2026
Merged

igorpecovnik merged 1 commit into
rk-6.1-rkr7.2from
labelling-automation

Conversation

@igorpecovnik

Copy link
Copy Markdown
Member

Copies the PR-labelling automation from armbian/build so this repo gets the same behaviour.

Workflows (verbatim from armbian/build)

  • maintenance-auto-label.yml — size (size/*), category (via labeler.yml), quarter (02/05/08/11), and removes Ready to merge on update
  • maintenance-listen-review.yml + maintenance-label-on-approval.yml — add Ready to merge on committer approval (fork-safe: listener records the PR, privileged half runs via workflow_run), and clear review labels
  • maintenance-listen-review-wip.yml + maintenance-label-wip.yml + maintenance-label-wip-sweep.yml — sync Work in progress from review decision + unresolved threads (event worker + 30-min cron backstop)
  • data-sync-labels.yml — sync the repo's labels from labels.yml

Data/scripts

  • .github/scripts/wip-label.js — verbatim (shared WIP logic)
  • labels.yml — verbatim + two kernel labels (Device Tree, defconfig)
  • labeler.yml — adapted to the kernel tree: Needs review, Device Tree (arch/*/boot/dts/**), defconfig (arch/*/configs/**), GitHub, GitHub Actions, Documentation (the build repo's config//lib//patch//packages/ categories don't apply here)

Notes:

  • All actions are pinned to the same SHAs as armbian/build.
  • Nothing touches the existing compile.yaml.
  • Enforcement is via labels/notifications, not branch protection.

Size/category/quarter/WIP/approval labels + label sync. Workflows and
wip-label.js are verbatim from armbian/build; labeler.yml path rules
adapted to the kernel tree (dts/defconfig).

Signed-off-by: Igor Pecovnik <igor@armbian.com>
@coderabbitai

coderabbitai Bot commented Oct 7, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c1140add-f511-4d8f-9ab3-f53da8f41a15
📥 Commits

Reviewing files that changed from the base of the PR and between 2aa67a0 and f7ffba8.

📒 Files selected for processing (10)
  • .github/labeler.yml
  • .github/labels.yml
  • .github/scripts/wip-label.js
  • .github/workflows/data-sync-labels.yml
  • .github/workflows/maintenance-auto-label.yml
  • .github/workflows/maintenance-label-on-approval.yml
  • .github/workflows/maintenance-label-wip-sweep.yml
  • .github/workflows/maintenance-label-wip.yml
  • .github/workflows/maintenance-listen-review-wip.yml
  • .github/workflows/maintenance-listen-review.yml
 __________________________________________________________________
< Engage! Making your code boldly go where no one has gone before. >
 ------------------------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@igorpecovnik
igorpecovnik merged commit e0a9c9e into rk-6.1-rkr7.2 Oct 7, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant