diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..6568054 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,2 @@ +github: Supereg +custom: "https://paypal.me/Supereg" diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..78331e1 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,11 @@ +# Add 'beta' label to any PR where the base branch name starts with `beta` or has a `beta` section in the name +beta: + - base-branch: ['^beta', 'beta', 'beta*'] + +# Add 'beta' label to any PR where the base branch name starts with `beta` or has a `beta` section in the name +alpha: + - base-branch: ['^alpha', 'alpha', 'alpha*'] + +# Add 'latest' label to any PR where the base branch name starts with `latest` or has a `latest` section in the name +latest: + - base-branch: ['^latest', 'latest', 'latest*'] \ No newline at end of file diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..0dee440 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,21 @@ +# The GitHub release configuration file: https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes + +changelog: + categories: + - title: Breaking Changes 🛠 + labels: + - 'breaking change' + - title: Featured Changes ✨ + labels: + - 'feature' + - 'enhancement' + - title: Bug Fixes 🐛 + labels: + - 'fix' + - 'bugfix' + - 'bug' + - title: Other Changes + labels: + - "chore" + - "housekeeping" + - "*" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..e20474e --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,12 @@ +name: Labeler + +on: + pull_request_target: # required for auto labeler + types: [opened, reopened, synchronize] + workflow_dispatch: + +jobs: + stale: + uses: homebridge/.github/.github/workflows/labeler.yml@latest + secrets: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml new file mode 100644 index 0000000..df2d346 --- /dev/null +++ b/.github/workflows/pr-labeler.yml @@ -0,0 +1,12 @@ +name: PR Labeler + +on: + pull_request_target: # required for auto labeler + types: [opened, reopened, synchronize] + workflow_dispatch: + +jobs: + stale: + uses: homebridge/.github/.github/workflows/pr-labeler.yml@latest + secrets: + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000..25177f9 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,15 @@ +name: Release Drafter + +on: + push: + branches: [latest] + pull_request: # required for autolabeler + branches: [latest] + types: [opened, reopened, synchronize, ready_for_review, review_requested] + workflow_dispatch: + +jobs: + stale: + uses: homebridge/.github/.github/workflows/release-drafter.yml@latest + secrets: + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file