From 93e007d0fab6f6a65f4f3e18a478d3d07609ab28 Mon Sep 17 00:00:00 2001 From: Edwin van de Pol Date: Mon, 16 Sep 2024 21:19:31 +0200 Subject: [PATCH] Updated workflow and readme --- .github/FUNDING.yml | 1 - .github/workflows/release.yml | 51 ++-------------------------------- .github/workflows/validate.yml | 11 ++------ README.md | 2 ++ 4 files changed, 6 insertions(+), 59 deletions(-) delete mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index ecba079..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -custom: [ 'https://paypal.me/edwinvdpol' ] diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ef5a28..66cbb40 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,57 +2,10 @@ name: Release on: workflow_dispatch: - inputs: - version: - type: choice - description: Version - required: true - default: patch - options: - - major - - minor - - patch - changelog: - type: string - description: Changelog - required: true jobs: main: - runs-on: ubuntu-latest - permissions: contents: write - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Update version - uses: athombv/github-action-homey-app-version@master - id: update_version - with: - version: ${{ inputs.version }} - changelog: ${{ inputs.changelog }} - - - name: Commit version - uses: stefanzweifel/git-auto-commit-action@v5 - with: - commit_message: Version ${{ steps.update_version.outputs.version }} - tagging_message: v${{ steps.update_version.outputs.version }} - - - name: Publish - uses: athombv/github-action-homey-app-publish@master - id: publish - with: - personal_access_token: ${{ secrets.HOMEY_PAT }} - - - name: Summary - run: echo "Release can be managed at ${{ steps.publish.outputs.url }}" >> $GITHUB_STEP_SUMMARY - - - name: Release - uses: softprops/action-gh-release@v2 - with: - body: ${{ inputs.changelog }} - make_latest: true - tag_name: v${{ steps.update_version.outputs.version }} + uses: edwinvdpol/.github/.github/workflows/homey-release.yml@main + secrets: inherit diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 8122afb..476f901 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -7,12 +7,5 @@ on: jobs: main: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - uses: athombv/github-action-homey-app-validate@master - with: - level: verified + uses: edwinvdpol/.github/.github/workflows/homey-validate.yml@main + secrets: inherit diff --git a/README.md b/README.md index b4ac84d..24eaeb6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Tedee for Homey +![Homey App Validation](https://github.com/edwinvdpol/homey-tedee/actions/workflows/validate.yml/badge.svg) + Unlock your keyless life. Say goodbye to traditional keys and welcome new ways to access, protect, and share your home. Open your door with just a smartphone, smartwatch, or PIN.