NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
apply zizmor recommendations (#15490)
Blake Blackshear869fa2631ef7
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 3b06f0dc8f..996b1e8e75 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -7,7 +7,7 @@ on:- dev- masterpaths-ignore:- - 'docs/**'+ - "docs/**"# only run the latest commit to avoid cache overwritesconcurrency:@@ -24,6 +24,8 @@ jobs:steps:- name: Check out codeuses: actions/checkout@v4+ with:+ persist-credentials: false- name: Set up QEMU and Buildxid: setupuses: ./.github/actions/setup@@ -45,6 +47,8 @@ jobs:steps:- name: Check out codeuses: actions/checkout@v4+ with:+ persist-credentials: false- name: Set up QEMU and Buildxid: setupuses: ./.github/actions/setup@@ -86,6 +90,8 @@ jobs:steps:- name: Check out codeuses: actions/checkout@v4+ with:+ persist-credentials: false- name: Set up QEMU and Buildxid: setupuses: ./.github/actions/setup@@ -112,6 +118,8 @@ jobs:steps:- name: Check out codeuses: actions/checkout@v4+ with:+ persist-credentials: false- name: Set up QEMU and Buildxid: setupuses: ./.github/actions/setup@@ -140,6 +148,8 @@ jobs:steps:- name: Check out codeuses: actions/checkout@v4+ with:+ persist-credentials: false- name: Set up QEMU and Buildxid: setupuses: ./.github/actions/setup@@ -165,6 +175,8 @@ jobs:steps:- name: Check out codeuses: actions/checkout@v4+ with:+ persist-credentials: false- name: Set up QEMU and Buildxid: setupuses: ./.github/actions/setup@@ -188,6 +200,8 @@ jobs:steps:- name: Check out codeuses: actions/checkout@v4+ with:+ persist-credentials: false- name: Set up QEMU and Buildxid: setupuses: ./.github/actions/setupdiff --git a/.github/workflows/dependabot-auto-merge.yaml b/.github/workflows/dependabot-auto-merge.yamldeleted file mode 100644index 1c047c346b..0000000000--- a/.github/workflows/dependabot-auto-merge.yaml+++ /dev/null@@ -1,24 +0,0 @@-name: dependabot-auto-merge-on: pull_request--permissions:- contents: write--jobs:- dependabot-auto-merge:- runs-on: ubuntu-latest- if: github.actor == 'dependabot[bot]'- steps:- - name: Get Dependabot metadata- id: metadata- uses: dependabot/fetch-metadata@v2- with:- github-token: ${{ secrets.GITHUB_TOKEN }}- - name: Enable auto-merge for Dependabot PRs- if: steps.metadata.outputs.dependency-type == 'direct:development' && (steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch')- run: |- gh pr review --approve "$PR_URL"- gh pr merge --auto --squash "$PR_URL"- env:- PR_URL: ${{ github.event.pull_request.html_url }}- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.ymlindex bce97a07e9..39c76e3503 100644--- a/.github/workflows/pull_request.yml+++ b/.github/workflows/pull_request.yml@@ -3,7 +3,7 @@ name: On pull requeston:pull_request:paths-ignore:- - 'docs/**'+ - "docs/**"env:DEFAULT_PYTHON: 3.9@@ -19,6 +19,8 @@ jobs:DOCKER_BUILDKIT: "1"steps:- uses: actions/checkout@v4+ with:+ persist-credentials: false- uses: actions/setup-node@masterwith:node-version: 16.x@@ -38,6 +40,8 @@ jobs:runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4+ with:+ persist-credentials: false- uses: actions/setup-node@masterwith:node-version: 16.x@@ -52,6 +56,8 @@ jobs:runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4+ with:+ persist-credentials: false- uses: actions/setup-node@masterwith:node-version: 20.x@@ -67,6 +73,8 @@ jobs:steps:- name: Check out the repositoryuses: actions/checkout@v4+ with:+ persist-credentials: false- name: Set up Python ${{ env.DEFAULT_PYTHON }}uses: actions/[email protected]with:@@ -88,6 +96,8 @@ jobs:steps:- name: Check out codeuses: actions/checkout@v4+ with:+ persist-credentials: false- uses: actions/setup-node@masterwith:node-version: 16.xdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 6e90b9c784..ace4c3b3f4 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -11,6 +11,8 @@ jobs:steps:- uses: actions/checkout@v4+ with:+ persist-credentials: false- id: lowercaseRepouses: ASzc/change-string-case-action@v6with:@@ -22,10 +24,13 @@ jobs:username: ${{ github.actor }}password: ${{ secrets.GITHUB_TOKEN }}- name: Create tag variables+ env:+ TAG: ${{ github.ref_name }}+ LOWERCASE_REPO: ${{ steps.lowercaseRepo.outputs.lowercase }}run: |- BUILD_TYPE=$([[ "${{ github.ref_name }}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]] && echo "stable" || echo "beta")+ BUILD_TYPE=$([[ "${TAG}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]] && echo "stable" || echo "beta")echo "BUILD_TYPE=${BUILD_TYPE}" >> $GITHUB_ENV- echo "BASE=ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}" >> $GITHUB_ENV+ echo "BASE=ghcr.io/${LOWERCASE_REPO}" >> $GITHUB_ENVecho "BUILD_TAG=${GITHUB_SHA::7}" >> $GITHUB_ENVecho "CLEAN_VERSION=$(echo ${GITHUB_REF##*/} | tr '[:upper:]' '[:lower:]' | sed 's/^[v]//')" >> $GITHUB_ENV- name: Tag and push the main imagediff --git a/.github/workflows/stale.yml b/.github/workflows/stale.ymlindex 8e7e3223cb..011f70afd3 100644--- a/.github/workflows/stale.yml+++ b/.github/workflows/stale.yml@@ -23,7 +23,9 @@ jobs:exempt-pr-labels: "pinned,security,dependencies"operations-per-run: 120- name: Print outputs- run: echo ${{ join(steps.stale.outputs.*, ',') }}+ env:+ STALE_OUTPUT: ${{ join(steps.stale.outputs.*, ',') }}+ run: echo "$STALE_OUTPUT"# clean_ghcr:# name: Delete outdated dev container images@@ -38,4 +40,3 @@ jobs:# account-type: personal# token: ${{ secrets.GITHUB_TOKEN }}# token-type: github-token-