Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Release"

on:
release:
types:
- published
permissions:
contents: write
packages: write


jobs:
release:
name: Prepare release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Create zip file
run: |
cd custom_components/ha_jokes
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The path in the 'cd' command is incorrect. The workflow is for the 'secretsentry' integration, but the command is trying to change to 'custom_components/ha_jokes' which appears to be a copy-paste error from another project. This should be 'custom_components/secretsentry' to match the integration name and the actual directory structure.

Suggested change
cd custom_components/ha_jokes
cd custom_components/secretsentry

Copilot uses AI. Check for mistakes.
zip -r ../../secretsentry.zip . -x "__pycache__/*" "*.pyc" "*.pyo"

- name: Upload zip to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./secretsentry.zip
asset_name: secretsentry.zip
tag: ${{ github.event.release.tag_name }}
overwrite: true
20 changes: 20 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Validate"

on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"

jobs:
validate:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- name: HACS validation
uses: "hacs/action@main"
with:
category: "integration"
ignore: brands
- name: Hassfest validation
uses: "home-assistant/actions/hassfest@master"
8 changes: 4 additions & 4 deletions custom_components/secretsentry/manifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"domain": "secretsentry",
"name": "SecretSentry",
"codeowners": ["@secretsentry"],
"codeowners": ["@HallyAus"],
"config_flow": true,
"documentation": "https://github.com/secretsentry/secretsentry",
"documentation": "https://github.com/HallyAus/SecretSentry/",
"iot_class": "local_polling",
"issue_tracker": "https://github.com/secretsentry/secretsentry/issues",
"version": "3.0.6",
"issue_tracker": "hhttps://github.com/HallyAus/SecretSentry/issues",
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue tracker URL contains a typo with double 'h' at the beginning: "hhttps" should be "https".

Suggested change
"issue_tracker": "hhttps://github.com/HallyAus/SecretSentry/issues",
"issue_tracker": "https://github.com/HallyAus/SecretSentry/issues",

Copilot uses AI. Check for mistakes.
"version": "3.0.8",
"requirements": [],
"dependencies": [],
"integration_type": "service"
Expand Down
Loading