Skip to content

👷 Update workflows to v3.0.0, restore Release Drafter & tidy README#392

Merged
frenck merged 2 commits into
mainfrom
restore-release-drafter
Jun 10, 2026
Merged

👷 Update workflows to v3.0.0, restore Release Drafter & tidy README#392
frenck merged 2 commits into
mainfrom
restore-release-drafter

Conversation

@frenck

@frenck frenck commented Jun 10, 2026

Copy link
Copy Markdown
Member

Proposed Changes

(Describe the changes and rationale behind them)

Updates all hassio-addons/workflows references to v3.0.0, restores the standalone Release Drafter workflow, lowers the permissions of the CI & Deploy workflows, removes the lock and stale workflows, and tidies up the README badges.

Workflows

Upstream hassio-addons/workflows v3.0.0 (#291) moves Release Drafter back out of base-ci.yaml into a standalone reusable workflow. Because CI no longer drafts releases, it no longer needs write access:

  • Re-added .github/workflows/release-drafter.yaml — it carries the contents: write + pull-requests: read permissions needed for drafting releases (triggered on push to main).
  • ci.yaml: contents: writecontents: read, and removed pull-requests: read.
  • deploy.yaml: same permission reduction on the ci job; the deploy job is unchanged.
  • Bumped every hassio-addons/workflows reference (base-ci, base-deploy, release-drafter, labels, pr-labels) to v3.0.0.
  • Removed the lock.yaml workflow completely.
  • Removed the stale.yaml workflow completely.

README

  • Removed the architecture (aarch64/amd64) badges.
  • Removed the Discord chat and Community Forum badges.

Related Issues

(Github link to related issues or pull requests)

Reverts the Release Drafter removal made in #372.

Summary by CodeRabbit

  • Chores

    • Updated CI and deployment workflows to the latest reusable workflow version (v3.0.0).
    • Tightened workflow permissions for improved security posture.
    • Removed a couple of legacy automation workflows (lock, stale).
  • New Features

    • Added an automated release-drafting workflow that runs on main branch updates.
  • Documentation

    • Updated README badges: added CI/maintenance/activity shields and removed some outdated badges.

@coderabbitai

coderabbitai Bot commented Jun 10, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4ca90100-c2af-4dae-af9a-d7712b6a218e

📥 Commits

Reviewing files that changed from the base of the PR and between a46b1dc and 2080e26.

📒 Files selected for processing (5)
  • .github/workflows/labels.yaml
  • .github/workflows/lock.yaml
  • .github/workflows/pr-labels.yaml
  • .github/workflows/stale.yaml
  • README.md
💤 Files with no reviewable changes (3)
  • .github/workflows/stale.yaml
  • README.md
  • .github/workflows/lock.yaml
✅ Files skipped from review due to trivial changes (2)
  • .github/workflows/pr-labels.yaml
  • .github/workflows/labels.yaml

Walkthrough

Upgrades reusable workflow pins to v3.0.0, refines job and top-level permissions for CI/deploy workflows, adds a release-drafter workflow, updates label workflow pins, and adjusts README badges.

Changes

Workflow version and permission updates

Layer / File(s) Summary
CI workflow permission tightening and v3.0.0 upgrade
.github/workflows/ci.yaml
Top-level permissions changed: contents: write -> contents: read, removed pull-requests; packages: read and security-events: write retained. Reusable base-ci.yaml pin bumped to v3.0.0.
Deploy workflow permission adjustments and v3.0.0 upgrade
.github/workflows/deploy.yaml
Both ci and deploy jobs update their permissions blocks and bump referenced hassio-addons base workflow pins from v2.0.6 to v3.0.0. CI job explicitly enables security-events: write while keeping actions: read; deploy job retains packages: write.
Release drafter workflow addition
.github/workflows/release-drafter.yaml
New workflow added to run on pushes to main, grants contents: write and pull-requests: read, and reuses the external release-drafter workflow pinned to v3.0.0.
Label-related reusable workflow pins updated
.github/workflows/labels.yaml, .github/workflows/pr-labels.yaml
Both label-sync and PR-label workflows updated to use hassio-addons/workflows pins at v3.0.0.
README badge updates
README.md
Badge block updated to show GitHub Actions, maintenance, and GitHub Activity shields; removed architecture and Discord/forum shields and their reference link definitions.

Possibly related PRs

Suggested labels

ci

Poem

🐰 I hopped through YAML lines so neat,
Pinned v3.0.0 and trimmed the suite,
Badges polished, labels aligned,
Release drafts wake when main’s inclined,
Pipelines prance with lighter feet. 🎉

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately reflects the main changes: updating workflows to v3.0.0, restoring Release Drafter, and tidying the README.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch restore-release-drafter

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 and usage tips.

@frenck frenck added the ci Work that improves the continue integration. label Jun 10, 2026
@frenck frenck changed the title 👷 Restore standalone Release Drafter workflow and lower CI permissions 👷 Update workflows to v3.0.0, restore Release Drafter & tidy README Jun 10, 2026
@frenck frenck merged commit 7891550 into main Jun 10, 2026
13 checks passed
@frenck frenck deleted the restore-release-drafter branch June 10, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Work that improves the continue integration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant