Skip to content

Commit

Permalink
v2.0.0 (#517)
Browse files Browse the repository at this point in the history
## [2.0.0](https://github.com/donavanbecker/homebridge-rainbird/releases/tag/v1.11.3) (2024-01-31)

### What's Changed
#### Major Changes
- Moved rainbird module components into a seperate repo: https://github.com/donavanbecker/rainbird
#### Other Changes
- Housekeeping and updated dependencies.

**Full Changelog**: v1.11.3...v2.0.0
  • Loading branch information
donavanbecker authored Jan 31, 2024
1 parent e6159e4 commit 6a14291
Show file tree
Hide file tree
Showing 64 changed files with 774 additions and 2,674 deletions.
3 changes: 3 additions & 0 deletions .github/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- match:
dependency_type: all
update_type: all
41 changes: 33 additions & 8 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,38 @@
# Add 'branding' to any file changes within 'rainbird' folder
branding: rainbird/*
# Add 'branding' label to any changes within 'docs' folder or any subfolders
branding:
- changed-files:
- any-glob-to-any-file: branding/**

# Add 'enhancement' label to any change to index.js file
# Add 'docs' label to any change to .md files within the entire repository
docs:
- changed-files:
- any-glob-to-any-file: '**/*.md'

# Add 'enhancement' label to any change to src files within the source dir EXCEPT for the docs sub-folder
enhancement:
- src/*
- package.json
- pakcage-lock.json
- config.schema.json
- changed-files:
- any-glob-to-any-file: 'src/**/*'
- any-glob-to-any-file: 'config.schema.json'

# Add 'dependencies' label to any change to src files within the source dir EXCEPT for the docs sub-folder
dependencies:
- changed-files:
- any-glob-to-any-file: 'package.json'
- any-glob-to-any-file: 'package-lock.json'

# Add 'beta' label to any PR that is opened against the `beta` branch
beta:
- base-branch: 'beta*'

# Add 'alpha' label to any PR that is opened against the `alpha` branch
alpha:
- base-branch: 'alpha*'

# Add 'latest' label to any PR that is opened against the `latest` branch
latest:
- base-branch: 'latest'

# Add 'workflow' to any changes within 'workflow' folder or any subfolders
workflow:
- .github/workflows/*
- changed-files:
- any-glob-to-any-file: .github/**
33 changes: 33 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'

categories:
- title: 'Workflow Changes'
labels:
- 'workflow'
- title: 'Enhancements'
labels:
- 'enhancement'
- title: 'Updated Dependencies'
labels:
- 'dependencies'
- title: 'Documentation'
labels:
- 'docs'

change-template: '- $TITLE @$AUTHOR [#$NUMBER]'
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: |
## Changes
$CHANGES
13 changes: 13 additions & 0 deletions .github/workflows/changerelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Changelog to Release

on:
workflow_dispatch:
push:
paths: [CHANGELOG.md]
branches: [latest]

jobs:
changerelease:
uses: donavanbecker/.github/.github/workflows/changerelease.yml@latest
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
13 changes: 0 additions & 13 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

18 changes: 9 additions & 9 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ name: AutoDependabot

on:
pull_request:
push:
branches:
- beta
- latest
pull_request_target:
branches:
- beta
- latest

jobs:
automerge:
name: Auto-merge dependabot updates
runs-on: ubuntu-latest
steps:
- uses: mitto98/dependabot-automerge-action@master
with:
token: ${{ github.token }}
merge: true
label:
uses: donavanbecker/.github/.github/workflows/dependabot.yml@latest
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/discord-webhooks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This is a basic workflow to help you get started with Actions

name: Discord Webhooks

# Controls when the workflow will run
on:
release:
types: [released, prereleased]

jobs:
github-releases-to-discord:
uses: donavanbecker/.github/.github/workflows/discord-webhooks.yml@latest
with:
footer_title: "RainBird"
secrets:
DISCORD_WEBHOOK_URL_LATEST: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }}
DISCORD_WEBHOOK_URL_BETA: ${{ secrets.DISCORD_WEBHOOK_URL_BETA }}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@
],
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
},
"codeQL.githubDatabase.update": "never"
}
Loading

0 comments on commit 6a14291

Please sign in to comment.