- Notifications
You must be signed in to change notification settings - Fork11
homebridge/.github
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This project contains any sort of common and community health files for the Homebridge organizationto be maintained in a central space.
This project provides several GitHub workflows that can bereused.
This example, which is cited from the above-linked GitHub documentation page, shows how suchreusable workflow files are generally used:
name:Call a reusable workflowon:pull_request:branches: -latestjobs:call-workflow:uses:homebridge/.github/.github/workflows/example-workflow.yml@latestcall-workflow-passing-data:uses:homebridge/.github/.github/workflows/example-workflow.yml@latestwith:username:monasecrets:token:${{ secrets.TOKEN }}# Example using the new dependency bot workflowdependency-update:uses:homebridge/.github/sharedWorkflows/homebridge-dependency-bot.yml@latestwith:config_file:'.github/homebridge-dependency-bot.json'release_stream:'beta'secrets:GH_TOKEN:${{ secrets.GH_TOKEN }}
Thehomebridge-dependency-bot.yml workflow is a reusable workflow that automatically updates package dependencies in your repository. It supports any release stream (beta, alpha, stable, etc.) and can manage multiple directories and packages.
Key Features:
- Support for any release stream (not just beta)
- Multiple directory and package management
- Automatic PR creation and optional auto-merge
- Flexible package version selection (exact tags or pattern matching)
Usage:
name:Update Dependencieson:schedule: -cron:'0 2 * * *'# Daily at 2 AMworkflow_dispatch:jobs:update-beta:uses:homebridge/.github/sharedWorkflows/homebridge-dependency-bot.yml@latestwith:config_file:'.github/homebridge-dependency-bot.json'release_stream:'beta'secrets:GH_TOKEN:${{ secrets.GH_TOKEN }}
Configuration File Example (.github/homebridge-dependency-bot.json):
{"git_user": {"name":"Homebridge Dependency Bot","email":"actions@github.com" },"auto_merge":false,"directories": [ {"directory":".","packages": [ {"name":"homebridge","tag":"beta" }, {"name":"@homebridge/plugin-ui-x","pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+-beta\\.[0-9]+$" } ] } ]}Legacy Usage: The originalhomebridge-beta-bot.yml workflow is still available at.github/workflows/homebridge-beta-bot.yml for backward compatibility.
About
Global workflow files and community health files for the Homebridge organization.
Topics
Resources
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors10
Uh oh!
There was an error while loading.Please reload this page.
