Use references to the main branch (#16)

This commit is contained in:
Joakim Sørensen
2021-09-28 09:58:28 +02:00
committed by GitHub
parent 302a9020b8
commit e7302d0559
4 changed files with 7 additions and 12 deletions

View File

@@ -7,10 +7,10 @@ env:
on: on:
push: push:
branches: branches:
- master - main
pull_request: pull_request:
branches: branches:
- master - main
jobs: jobs:
init: init:

View File

@@ -3,10 +3,10 @@ name: Lint
on: on:
push: push:
branches: branches:
- master - main
pull_request: pull_request:
branches: branches:
- master - main
schedule: schedule:
- cron: "0 0 * * *" - cron: "0 0 * * *"

View File

@@ -4,7 +4,6 @@ This repository can be used as a "blueprint" for add-on development to help you
Add-on documentation: <https://developers.home-assistant.io/docs/add-ons> Add-on documentation: <https://developers.home-assistant.io/docs/add-ons>
[![Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.](https://my.home-assistant.io/badges/supervisor_add_addon_repository.svg)](https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fhome-assistant%2Faddons-example) [![Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.](https://my.home-assistant.io/badges/supervisor_add_addon_repository.svg)](https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fhome-assistant%2Faddons-example)
## Add-ons ## Add-ons
@@ -21,13 +20,12 @@ This repository contains the following add-ons
_Example add-on to use as a blueprint for new add-ons._ _Example add-on to use as a blueprint for new add-ons._
<!-- <!--
Notes to developers after forking or using the github template feature: Notes to developers after forking or using the github template feature:
- While developing comment out the 'image' key from 'example/config.yaml' to make the supervisor build the addon - While developing comment out the 'image' key from 'example/config.yaml' to make the supervisor build the addon
- Remember to put this back when pushing up your changes. - Remember to put this back when pushing up your changes.
- When you merge to the 'master' branch of your repository a new build will be triggered. - When you merge to the 'main' branch of your repository a new build will be triggered.
- Make sure you adjust the 'version' key in 'example/config.yaml' when you do that. - Make sure you adjust the 'version' key in 'example/config.yaml' when you do that.
- Make sure you update 'example/CHANGELOG.md' when you do that. - Make sure you update 'example/CHANGELOG.md' when you do that.
- The first time this runs you might need to adjust the image configuration on github container registry to make it public - The first time this runs you might need to adjust the image configuration on github container registry to make it public
@@ -40,11 +38,8 @@ Notes to developers after forking or using the github template feature:
- Do awesome stuff! - Do awesome stuff!
--> -->
[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg [aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg [amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
[armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg [armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg
[armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg [armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg
[i386-shield]: https://img.shields.io/badge/i386-yes-green.svg [i386-shield]: https://img.shields.io/badge/i386-yes-green.svg

View File

@@ -3,7 +3,7 @@ name: Example add-on
version: "1.1.0" version: "1.1.0"
slug: example slug: example
description: Example add-on description: Example add-on
url: "https://github.com/home-assistant/addons-example/tree/master/example" url: "https://github.com/home-assistant/addons-example/tree/main/example"
arch: arch:
- armhf - armhf
- armv7 - armv7