Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.0.0 #517

Merged
merged 15 commits into from
Jan 31, 2024
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
Loading