diff --git a/.github/workflows/lintPR.yaml b/.github/workflows/lintPR.yaml deleted file mode 100644 index 9e74b825..00000000 --- a/.github/workflows/lintPR.yaml +++ /dev/null @@ -1,18 +0,0 @@ -name: "Lint PR" - -on: - pull_request_target: - types: - - opened - - edited - - synchronize - -jobs: - main: - runs-on: ubuntu-latest - steps: - # Please look up the latest version from - # https://github.com/amannn/action-semantic-pull-request/releases - - uses: amannn/action-semantic-pull-request@v5.4.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 1120d966..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Release -on: - workflow_dispatch: - schedule: - - cron: "0 8 * * Wed,Sun" -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Gets semantic release info - id: semantic_release_info - uses: jossef/action-semantic-release-info@v2 - env: - GITHUB_TOKEN: ${{ github.token }} - - name: Update Version and Commit - if: ${{steps.semantic_release_info.outputs.version != ''}} - run: | - echo "Version: ${{steps.semantic_release_info.outputs.version}}" - sed -i "s/\"version\": \".*\"/\"version\": \"${{steps.semantic_release_info.outputs.version}}\"/g" custom_components/audi_connect_ha/manifest.json - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" - git add -A - git commit -m "chore: bumping version to ${{steps.semantic_release_info.outputs.version}}" - git tag ${{ steps.semantic_release_info.outputs.git_tag }} - - - name: Push changes - if: ${{steps.semantic_release_info.outputs.version != ''}} - uses: ad-m/github-push-action@v0.8.0 - with: - github_token: ${{ github.token }} - tags: true - - - name: Create GitHub Release - if: ${{steps.semantic_release_info.outputs.version != ''}} - uses: ncipollo/release-action@v1 - env: - GITHUB_TOKEN: ${{ github.token }} - with: - tag: ${{ steps.semantic_release_info.outputs.git_tag }} - name: ${{ steps.semantic_release_info.outputs.git_tag }} - body: ${{ steps.semantic_release_info.outputs.notes }} - draft: false - prerelease: false