diff --git a/.gitattributes b/.gitattributes index f2846dc6faba..a744a0deb2d9 100644 --- a/.gitattributes +++ b/.gitattributes @@ -23,3 +23,7 @@ requirements_all.txt linguist-generated=true requirements_test_pre_commit.txt linguist-generated=true script/hassfest/docker/Dockerfile linguist-generated=true .github/workflows/*.lock.yml linguist-generated=true + +# Generated by `gh actions-lock`. Highlight it as YAML and don't auto-merge it: +# on a conflict, restore it from the base branch and run `gh actions-lock --no-narrow`. +.github/workflows/actions.lock linguist-language=YAML -merge diff --git a/.github/renovate.json b/.github/renovate.json index 89902bde2522..d43f8b2a896e 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -36,6 +36,10 @@ ] }, + "constraints": { + "ghActionsLock": "v0.5.0" + }, + "customManagers": [ { "customType": "regex", @@ -88,6 +92,20 @@ ], "datasourceTemplate": "pypi", "versioningTemplate": "pep440" + }, + { + "customType": "regex", + "description": "Keep gh-actions-lock in CI and Renovate's lockfile generator on the same version", + "managerFilePatterns": [ + "/^\\.github/workflows/actions-lock\\.yml$/", + "/^\\.github/renovate\\.json$/" + ], + "matchStrings": [ + "GH_ACTIONS_LOCK_VERSION: (?v\\d+\\.\\d+\\.\\d+)", + "\"ghActionsLock\": \"(?v\\d+\\.\\d+\\.\\d+)\"" + ], + "depNameTemplate": "github/gh-actions-lock", + "datasourceTemplate": "github-releases" } ], @@ -240,6 +258,12 @@ "enabled": true, "labels": ["dependency", "github_actions"] }, + { + "description": "No cooldown for our own actions. A # master pin has no release timestamp, so a cooldown would hold its digest updates indefinitely", + "matchManagers": ["github-actions"], + "matchPackageNames": ["home-assistant/**"], + "minimumReleaseAge": null + }, { "description": "Managed by gh aw compile. Version-locked to the gh-aw compiler; do not bump.", "matchPackageNames": [ @@ -249,6 +273,13 @@ ], "enabled": false }, + { + "description": "gh-actions-lock used to verify and regenerate actions.lock (allowlisted). The CI workflow and Renovate's constraint are bumped in the same PR.", + "matchManagers": ["custom.regex"], + "matchPackageNames": ["github/gh-actions-lock"], + "enabled": true, + "labels": ["dependency", "github_actions"] + }, { "description": "pnpm version pinned in the E2E tests packageManager field (allowlisted)", "matchManagers": ["npm"], diff --git a/.github/workflows/actions-lock.yml b/.github/workflows/actions-lock.yml new file mode 100644 index 000000000000..63650a510194 --- /dev/null +++ b/.github/workflows/actions-lock.yml @@ -0,0 +1,54 @@ +name: Verify actions lockfile + +# yamllint disable-line rule:truthy +on: + push: + branches: + - dev + - rc + - master + paths: + - ".github/actions/**" + - ".github/workflows/**" + pull_request: + branches: + - dev + - rc + - master + +permissions: {} + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + verify: + name: Verify actions lockfile + runs-on: ubuntu-latest + permissions: + contents: read # To check out the repository and resolve the locked actions + env: + GH_ACTIONS_LOCK_VERSION: v0.5.0 + steps: + - name: Check out code from GitHub + uses: actions/checkout@v7.0.1 + with: + persist-credentials: false + + - name: Check that branch refs are pinned to a commit + run: | + if grep -rnE 'uses:\s*[^ #]+@(main|master|dev)\b' .github/workflows .github/actions; then + echo "::error::Pin branch refs as @ # , actions.lock would freeze them" + exit 1 + fi + + - name: Install gh-actions-lock + env: + GH_TOKEN: ${{ github.token }} + run: gh extension install github/gh-actions-lock --pin "${GH_ACTIONS_LOCK_VERSION}" + + - name: Verify lockfile + env: + GH_TOKEN: ${{ github.token }} + run: gh actions-lock --verify diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock new file mode 100644 index 000000000000..46dd8d16fb76 --- /dev/null +++ b/.github/workflows/actions.lock @@ -0,0 +1,356 @@ +# This file is machine-generated by `gh actions-lock`. +# Do not edit by hand; run `gh actions-lock` to update. +# Docs: https://gh.io/actions-lockfile +version: 'v0.0.3' +workflows: + '.github/workflows/actions-lock.yml': + - 'actions/checkout@v7.0.1' + '.github/workflows/builder.yml': + - 'actions/attest@v4.2.2' + - 'actions/checkout@v7.0.1' + - 'actions/download-artifact@v8.0.2' + - 'actions/setup-python@v7.1.0' + - 'actions/upload-artifact@v7.0.2' + - 'dawidd6/action-download-artifact@v28' + - 'docker/build-push-action@v7.4.0' + - 'docker/login-action@v4.8.0' + - 'docker/metadata-action@v6.2.0' + - 'docker/setup-buildx-action@v4.4.1' + - 'home-assistant/actions@86d4564712fa02543c808e3a693dd04f9d3f8361' + - 'home-assistant/builder@2026.09.0' + - 'pypa/gh-action-pypi-publish@v1.14.3' + - 'sigstore/cosign-installer@v4.1.3' + '.github/workflows/check-requirements-deterministic.yml': + - 'actions/checkout@v7.0.1' + - 'actions/setup-python@v7.1.0' + - 'actions/upload-artifact@v7.0.2' + '.github/workflows/check-requirements.lock.yml': + - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9' + - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' + - 'actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333' + - 'actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3' + - 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9' + - 'github/gh-aw-actions@9271a1804551c0dc4fb0085a97979950aa2f8489' + '.github/workflows/ci.yaml': + - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9' + - 'actions/cache@v6.1.0' + - 'actions/checkout@v7.0.1' + - 'actions/dependency-review-action@v5.0.0' + - 'actions/download-artifact@v8.0.2' + - 'actions/upload-artifact@v7.0.2' + - 'astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2' + - 'awalsh128/cache-apt-pkgs-action@553a35bb8ebd9fcabcb1c9451aa4c98e1b4ca8a9' + - 'codecov/codecov-action@v7.1.1' + - 'codspeedhq/action@v5.6.3' + - 'dorny/paths-filter@v4.0.3' + - 'hadolint/hadolint-action@v3.5.0' + - 'j178/prek-action@v3.1.0' + '.github/workflows/codeql.yml': + - 'actions/checkout@v7.0.1' + - 'github/codeql-action@v4.39.3' + '.github/workflows/detect-duplicate-issues.yml': + - 'actions/ai-inference@v2.1.1' + - 'actions/github-script@v9.0.0' + '.github/workflows/detect-non-english-issues.yml': + - 'actions/ai-inference@v2.1.1' + - 'actions/github-script@v9.0.0' + '.github/workflows/e2e-tests.yml': + - 'actions/checkout@v7.0.1' + - 'actions/setup-node@v7.1.0' + - 'actions/upload-artifact@v7.0.2' + - 'pnpm/action-setup@v6.1.1' + '.github/workflows/lock.yml': + - 'dessant/lock-threads@v6.0.2' + '.github/workflows/quality-scale-reviewer-trigger.yml': [] + '.github/workflows/quality-scale-reviewer.lock.yml': + - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9' + - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' + - 'actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333' + - 'actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3' + - 'actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0' + - 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9' + - 'github/gh-aw-actions@9271a1804551c0dc4fb0085a97979950aa2f8489' + '.github/workflows/restrict-task-creation.yml': + - 'actions/github-script@v9.0.0' + '.github/workflows/stale.yml': + - 'actions/create-github-app-token@v3.3.0' + - 'actions/stale@v11.0.0' + '.github/workflows/translations.yml': + - 'actions/checkout@v7.0.1' + - 'actions/setup-python@v7.1.0' + '.github/workflows/wheels.yml': + - 'actions/checkout@v7.0.1' + - 'actions/download-artifact@v8.0.2' + - 'actions/setup-python@v7.1.0' + - 'actions/upload-artifact@v7.0.2' + - 'home-assistant/wheels@2026.10.0' + '.github/workflows/zizmor.yml': + - 'actions/checkout@v7.0.1' + - 'actions/download-artifact@v8.0.2' + - 'actions/upload-artifact@v7.0.2' + - 'astral-sh/setup-uv@v10.3.3' + - 'dorny/paths-filter@v4.0.3' + - 'github/codeql-action@v4.39.3' + - 'j178/prek-action@v3.1.0' +dependencies: + 'actions/ai-inference@v2.1.1': + ref: 'v2.1.1' + commit: 'sha1-a7805884c80886efc241e94a5351df715968a0ad' + owner_id: 44036562 + repo_id: 960077787 + 'actions/attest@v4.2.2': + ref: 'v4.2.2' + commit: 'sha1-1e69f48acb82d1966a394da916b4c1698aa569d6' + owner_id: 44036562 + repo_id: 760701061 + 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9': + ref: 'v6.1.0' + commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9' + owner_id: 44036562 + repo_id: 215566462 + 'actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7': + ref: 'v5.0.4' + commit: 'sha1-668228422ae6a00e4ad889ee87cd7109ec5666a7' + owner_id: 44036562 + repo_id: 215566462 + 'actions/cache@v6.1.0': + ref: 'v6.1.0' + commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9' + owner_id: 44036562 + repo_id: 215566462 + 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1': + ref: 'v7.0.1' + commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1' + owner_id: 44036562 + repo_id: 197814629 + 'actions/checkout@v7.0.1': + ref: 'v7.0.1' + commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1' + owner_id: 44036562 + repo_id: 197814629 + 'actions/create-github-app-token@v3.3.0': + ref: 'v3.3.0' + commit: 'sha1-64ab729a6294000f5aa4a4bc0b73d1f32bc45510' + owner_id: 44036562 + repo_id: 642580244 + 'actions/dependency-review-action@v5.0.0': + ref: 'v5.0.0' + commit: 'sha1-a1d282b36b6f3519aa1f3fc636f609c47dddb294' + owner_id: 44036562 + repo_id: 476372928 + 'actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333': + ref: 'v8.0.2' + commit: 'sha1-9000827ccba6bdab643e8b6fd33ac0654aef8333' + owner_id: 44036562 + repo_id: 192626254 + 'actions/download-artifact@v8.0.2': + ref: 'v8.0.2' + commit: 'sha1-9000827ccba6bdab643e8b6fd33ac0654aef8333' + owner_id: 44036562 + repo_id: 192626254 + 'actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3': + ref: 'v9.0.0' + commit: 'sha1-3a2844b7e9c422d3c10d287c895573f7108da1b3' + owner_id: 44036562 + repo_id: 205262760 + 'actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd': + ref: 'v8.0.0' + commit: 'sha1-ed597411d8f924073f98dfc5c65a23a2325f34cd' + owner_id: 44036562 + repo_id: 205262760 + 'actions/github-script@v9.0.0': + ref: 'v9.0.0' + commit: 'sha1-3a2844b7e9c422d3c10d287c895573f7108da1b3' + owner_id: 44036562 + repo_id: 205262760 + 'actions/setup-node@v7.1.0': + ref: 'v7.1.0' + commit: 'sha1-949feb2413d6458794dcd2491c4babbbce0c15c1' + owner_id: 44036562 + repo_id: 189476904 + 'actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0': + ref: 'v7.1.0' + commit: 'sha1-6d4fd22b20465ccc0f7354476588e8df7c9ca0e0' + owner_id: 44036562 + repo_id: 192625525 + 'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405': + ref: 'v6.2.0' + commit: 'sha1-a309ff8b426b58ec0e2a45f0f869d46889d02405' + owner_id: 44036562 + repo_id: 192625525 + 'actions/setup-python@v7.1.0': + ref: 'v7.1.0' + commit: 'sha1-6d4fd22b20465ccc0f7354476588e8df7c9ca0e0' + owner_id: 44036562 + repo_id: 192625525 + 'actions/stale@v11.0.0': + ref: 'v11.0.0' + commit: 'sha1-4391f3da665fdf50b6810c1a66712fb9ba21aa93' + owner_id: 44036562 + repo_id: 200437066 + 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f': + ref: 'v7.0.0' + commit: 'sha1-bbbca2ddaa5d8feaa63e36b76fdaad77386f024f' + owner_id: 44036562 + repo_id: 192625955 + 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9': + ref: 'v7.0.2' + commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9' + owner_id: 44036562 + repo_id: 192625955 + 'actions/upload-artifact@v7.0.2': + ref: 'v7.0.2' + commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9' + owner_id: 44036562 + repo_id: 192625955 + 'astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2': + ref: 'v10.3.3' + commit: 'sha1-68559e99cc807c1eb7e9238fd43a15bba460eec2' + owner_id: 115962839 + repo_id: 846733598 + 'astral-sh/setup-uv@v10.3.3': + ref: 'v10.3.3' + commit: 'sha1-68559e99cc807c1eb7e9238fd43a15bba460eec2' + owner_id: 115962839 + repo_id: 846733598 + 'awalsh128/cache-apt-pkgs-action@553a35bb8ebd9fcabcb1c9451aa4c98e1b4ca8a9': + ref: 'v1.6.3' + commit: 'sha1-553a35bb8ebd9fcabcb1c9451aa4c98e1b4ca8a9' + owner_id: 2087466 + repo_id: 408212054 + uses: + - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9' + - 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f' + 'codecov/codecov-action@v7.1.1': + ref: 'v7.1.1' + commit: 'sha1-303a32d7a59b442fa8d48b6a1cc6825c09c847a5' + owner_id: 8226205 + repo_id: 200299178 + uses: + - 'actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd' + 'codspeedhq/action@v5.6.3': + ref: 'v5.6.3' + commit: 'sha1-af75f77f17a054769abefaa42fe8dc2975469b5f' + owner_id: 116658140 + repo_id: 561699778 + uses: + - 'actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7' + - 'actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd' + 'dawidd6/action-download-artifact@v28': + ref: 'v28' + commit: 'sha1-a92c7ae74cf1df8810783758581e485ac3aaa309' + owner_id: 9713907 + repo_id: 239218448 + 'dessant/lock-threads@v6.0.2': + ref: 'v6.0.2' + commit: 'sha1-89ae32b08ed1a541efecbab17912962a5e38981c' + owner_id: 7513068 + repo_id: 113918130 + 'docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a': + ref: 'v7.3.0' + commit: 'sha1-53b7df96c91f9c12dcc8a07bcb9ccacbed38856a' + owner_id: 5429470 + repo_id: 241092383 + 'docker/build-push-action@v7.4.0': + ref: 'v7.4.0' + commit: 'sha1-c3c9e263c25d99ce0380d002d59b67737d91b0dc' + owner_id: 5429470 + repo_id: 241092383 + 'docker/login-action@dbcb813823bdd20940b903addbd779551569679f': + ref: 'v4.6.0' + commit: 'sha1-dbcb813823bdd20940b903addbd779551569679f' + owner_id: 5429470 + repo_id: 287743349 + 'docker/login-action@v4.8.0': + ref: 'v4.8.0' + commit: 'sha1-8aa5831fb8d48d8f76594c7ddde61ae58019f550' + owner_id: 5429470 + repo_id: 287743349 + 'docker/metadata-action@v6.2.0': + ref: 'v6.2.0' + commit: 'sha1-dc802804100637a589fabce1cb79ff13a1411302' + owner_id: 5429470 + repo_id: 306769011 + 'docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e': + ref: 'v4.3.0' + commit: 'sha1-37fe631027851001ddb9b187196cc803df7f5f0e' + owner_id: 5429470 + repo_id: 288485773 + 'docker/setup-buildx-action@v4.4.1': + ref: 'v4.4.1' + commit: 'sha1-f87e5991a6d7451dcb8d9637bfbc97413f497069' + owner_id: 5429470 + repo_id: 288485773 + 'dorny/paths-filter@v4.0.3': + ref: 'v4.0.3' + commit: 'sha1-ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d' + owner_id: 1588572 + repo_id: 265601040 + 'github/codeql-action@v4.39.3': + ref: 'v4.39.3' + commit: 'sha1-33d7b85da1a04171e211befe2c739303b9a4c066' + owner_id: 9919 + repo_id: 259445878 + 'github/gh-aw-actions@9271a1804551c0dc4fb0085a97979950aa2f8489': + ref: 'v0.88.2' + commit: 'sha1-9271a1804551c0dc4fb0085a97979950aa2f8489' + owner_id: 9919 + repo_id: 1156386970 + 'hadolint/hadolint-action@v3.5.0': + ref: 'v3.5.0' + commit: 'sha1-06be81baf89a55ffd0e24b8f04a4185738dd3387' + owner_id: 34047791 + repo_id: 212438777 + 'home-assistant/actions@86d4564712fa02543c808e3a693dd04f9d3f8361': + ref: 'master' + commit: 'sha1-86d4564712fa02543c808e3a693dd04f9d3f8361' + owner_id: 13844975 + repo_id: 173703505 + 'home-assistant/builder@2026.09.0': + ref: '2026.09.0' + commit: 'sha1-7412f0023ea9b6e58e8bb5059f1660f51376f49a' + owner_id: 13844975 + repo_id: 181371487 + uses: + - 'docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a' + - 'docker/login-action@dbcb813823bdd20940b903addbd779551569679f' + - 'docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e' + - 'home-assistant/builder@4de35182ce1e329181bffcbcc84d33db5e2c7e10' + - 'sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6' + 'home-assistant/builder@4de35182ce1e329181bffcbcc84d33db5e2c7e10': + ref: '2026.06.0' + commit: 'sha1-4de35182ce1e329181bffcbcc84d33db5e2c7e10' + owner_id: 13844975 + repo_id: 181371487 + 'home-assistant/wheels@2026.10.0': + ref: '2026.10.0' + commit: 'sha1-a100f6a076013273baaaf94c908d647d91327364' + owner_id: 13844975 + repo_id: 184234812 + 'j178/prek-action@v3.1.0': + ref: 'v3.1.0' + commit: 'sha1-44924fe9ef4a6f88253c4b6b1bf11c689d3ce53d' + owner_id: 10510431 + repo_id: 1052387486 + 'pnpm/action-setup@v6.1.1': + ref: 'v6.1.1' + commit: 'sha1-73e46992e05b19abd31f2f3c20e0e7370d762115' + owner_id: 21320719 + repo_id: 262289747 + 'pypa/gh-action-pypi-publish@v1.14.3': + ref: 'v1.14.3' + commit: 'sha1-7245906fb61fa33a13554f9d5fb856fe61758086' + owner_id: 647025 + repo_id: 178055147 + uses: + - 'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405' + 'sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6': + ref: 'v4.1.2' + commit: 'sha1-6f9f17788090df1f26f669e9d70d6ae9567deba6' + owner_id: 71096353 + repo_id: 351211695 + 'sigstore/cosign-installer@v4.1.3': + ref: 'v4.1.3' + commit: 'sha1-756fe2d284c7292c4e9b62c8a28f1e5629c59532' + owner_id: 71096353 + repo_id: 351211695 diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 016b224d3f2f..549813108dda 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -44,23 +44,23 @@ jobs: base_image_version: ${{ env.BASE_IMAGE_VERSION }} steps: - name: Checkout the repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Set up Python - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + uses: actions/setup-python@v7.1.0 with: python-version-file: ".python-version" - name: Get version id: version - uses: home-assistant/actions/helpers/version@master # zizmor: ignore[unpinned-uses] + uses: home-assistant/actions/helpers/version@86d4564712fa02543c808e3a693dd04f9d3f8361 # master with: type: ${{ env.BUILD_TYPE }} - name: Verify version - uses: home-assistant/actions/helpers/verify-version@master # zizmor: ignore[unpinned-uses] + uses: home-assistant/actions/helpers/verify-version@86d4564712fa02543c808e3a693dd04f9d3f8361 # master with: ignore-dev: true @@ -82,7 +82,7 @@ jobs: run: find ./homeassistant/components/*/translations -name "*.json" | tar zcvf translations.tar.gz -T - - name: Upload translations - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: translations path: translations.tar.gz @@ -108,13 +108,13 @@ jobs: os: ubuntu-26.04-arm steps: - name: Checkout the repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Download nightly wheels of frontend if: needs.init.outputs.channel == 'dev' - uses: dawidd6/action-download-artifact@a92c7ae74cf1df8810783758581e485ac3aaa309 # v28 + uses: dawidd6/action-download-artifact@v28 with: github_token: ${{secrets.GITHUB_TOKEN}} repo: home-assistant/frontend @@ -125,7 +125,7 @@ jobs: - name: Download nightly wheels of intents if: needs.init.outputs.channel == 'dev' - uses: dawidd6/action-download-artifact@a92c7ae74cf1df8810783758581e485ac3aaa309 # v28 + uses: dawidd6/action-download-artifact@v28 with: github_token: ${{secrets.GITHUB_TOKEN}} repo: OHF-Voice/intents-package @@ -136,7 +136,7 @@ jobs: - name: Set up Python if: needs.init.outputs.channel == 'dev' - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + uses: actions/setup-python@v7.1.0 with: python-version-file: ".python-version" @@ -184,7 +184,7 @@ jobs: fi - name: Download translations - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + uses: actions/download-artifact@v8.0.2 with: name: translations @@ -199,7 +199,7 @@ jobs: echo "${GITHUB_SHA};${GITHUB_REF};${GITHUB_EVENT_NAME};${GITHUB_ACTOR}" > rootfs/OFFICIAL_IMAGE - name: Build base image - uses: home-assistant/builder/actions/build-image@7412f0023ea9b6e58e8bb5059f1660f51376f49a # 2026.09.0 + uses: home-assistant/builder/actions/build-image@2026.09.0 with: arch: ${{ matrix.arch }} build-args: | @@ -238,7 +238,7 @@ jobs: runs-on: ubuntu-26.04 steps: - name: Checkout the repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false @@ -257,7 +257,7 @@ jobs: fi - name: Build machine image - uses: home-assistant/builder/actions/build-image@7412f0023ea9b6e58e8bb5059f1660f51376f49a # 2026.09.0 + uses: home-assistant/builder/actions/build-image@2026.09.0 with: arch: ${{ matrix.arch }} build-args: | @@ -303,19 +303,19 @@ jobs: contents: read steps: - name: Checkout the repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Initialize git - uses: home-assistant/actions/helpers/git-init@master # zizmor: ignore[unpinned-uses] + uses: home-assistant/actions/helpers/git-init@86d4564712fa02543c808e3a693dd04f9d3f8361 # master with: name: ${{ secrets.GIT_NAME }} email: ${{ secrets.GIT_EMAIL }} token: ${{ secrets.GIT_TOKEN }} - name: Update version file - uses: home-assistant/actions/helpers/version-push@master # zizmor: ignore[unpinned-uses] + uses: home-assistant/actions/helpers/version-push@86d4564712fa02543c808e3a693dd04f9d3f8361 # master with: key: "homeassistant[]" key-description: "Home Assistant Core" @@ -325,7 +325,7 @@ jobs: - name: Update version file (stable -> beta) if: needs.init.outputs.channel == 'stable' - uses: home-assistant/actions/helpers/version-push@master # zizmor: ignore[unpinned-uses] + uses: home-assistant/actions/helpers/version-push@86d4564712fa02543c808e3a693dd04f9d3f8361 # master with: key: "homeassistant[]" key-description: "Home Assistant Core" @@ -349,17 +349,17 @@ jobs: registry: ["ghcr.io/home-assistant", "docker.io/homeassistant"] steps: - name: Install Cosign - uses: sigstore/cosign-installer@756fe2d284c7292c4e9b62c8a28f1e5629c59532 # v4.1.3 + uses: sigstore/cosign-installer@v4.1.3 - name: Login to DockerHub if: matrix.registry == 'docker.io/homeassistant' - uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0 + uses: docker/login-action@v4.8.0 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GitHub Container Registry - uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0 + uses: docker/login-action@v4.8.0 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -389,7 +389,7 @@ jobs: # 2025.12.0.dev202511250240 -> tags: 2025.12.0.dev202511250240, dev - name: Generate Docker metadata id: meta - uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0 + uses: docker/metadata-action@v6.2.0 with: images: ${{ matrix.registry }}/home-assistant sep-tags: "," @@ -403,7 +403,7 @@ jobs: type=semver,pattern={{major}}.{{minor}},value=${{ needs.init.outputs.version }},enable=${{ !contains(needs.init.outputs.version, 'd') && !contains(needs.init.outputs.version, 'b') }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 + uses: docker/setup-buildx-action@v4.4.1 - name: Copy architecture images to DockerHub if: matrix.registry == 'docker.io/homeassistant' @@ -480,17 +480,17 @@ jobs: if: github.repository_owner == 'home-assistant' && needs.init.outputs.publish == 'true' steps: - name: Checkout the repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Set up Python - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + uses: actions/setup-python@v7.1.0 with: python-version-file: ".python-version" - name: Download translations - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + uses: actions/download-artifact@v8.0.2 with: name: translations @@ -510,7 +510,7 @@ jobs: python -m build packages/pytest-homeassistant --outdir dist - name: Upload package to PyPI - uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3 + uses: pypa/gh-action-pypi-publish@v1.14.3 with: skip-existing: true @@ -529,19 +529,19 @@ jobs: HASSFEST_IMAGE_TAG: ghcr.io/home-assistant/hassfest:${{ needs.init.outputs.version }} steps: - name: Checkout repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Login to GitHub Container Registry - uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0 + uses: docker/login-action@v4.8.0 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build Docker image - uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 + uses: docker/build-push-action@v7.4.0 with: context: . # So action will not pull the repository again file: ./script/hassfest/docker/Dockerfile @@ -554,7 +554,7 @@ jobs: - name: Push Docker image if: needs.init.outputs.channel != 'dev' && needs.init.outputs.publish == 'true' id: push - uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 + uses: docker/build-push-action@v7.4.0 with: context: . # So action will not pull the repository again file: ./script/hassfest/docker/Dockerfile @@ -563,7 +563,7 @@ jobs: - name: Generate artifact attestation if: needs.init.outputs.channel != 'dev' && needs.init.outputs.publish == 'true' - uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2 + uses: actions/attest@v4.2.2 with: subject-name: ${{ env.HASSFEST_IMAGE_NAME }} subject-digest: ${{ steps.push.outputs.digest }} diff --git a/.github/workflows/check-requirements-deterministic.yml b/.github/workflows/check-requirements-deterministic.yml index 44a070a2207c..9b77fdcf5d65 100644 --- a/.github/workflows/check-requirements-deterministic.yml +++ b/.github/workflows/check-requirements-deterministic.yml @@ -39,11 +39,11 @@ jobs: timeout-minutes: 10 steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Set up Python - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + uses: actions/setup-python@v7.1.0 with: python-version-file: ".python-version" check-latest: true @@ -71,7 +71,7 @@ jobs: --diff deterministic/pr.diff \ --output deterministic/results.json - name: Upload deterministic-results artifact - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: check-requirements-deterministic path: deterministic/results.json diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5ac8f1fbe707..2280b55ce991 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -110,7 +110,7 @@ jobs: skip_coverage: ${{ steps.info.outputs.skip_coverage }} steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Generate partial Python venv restore key @@ -127,7 +127,7 @@ jobs: # of a new uv cache entry after a version bump. echo "key=venv-${CACHE_VERSION}-${HA_SHORT_VERSION}-${HASH_REQUIREMENTS_TEST}-${HASH_REQUIREMENTS}-${HASH_REQUIREMENTS_ALL}-${HASH_PACKAGE_CONSTRAINTS}-${HASH_GEN_REQUIREMENTS}-${HASH_EDITABLE_PACKAGES}" >> $GITHUB_OUTPUT - name: Filter for core changes - uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3 + uses: dorny/paths-filter@v4.0.3 id: core with: filters: .core_files.yaml @@ -137,7 +137,7 @@ jobs: echo "Result:" cat .integration_paths.yaml - name: Filter for integration changes - uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3 + uses: dorny/paths-filter@v4.0.3 id: integrations with: filters: .integration_paths.yaml @@ -285,7 +285,7 @@ jobs: && github.event.inputs.audit-licenses-only != 'true' steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Register problem matchers @@ -295,7 +295,7 @@ jobs: echo "::add-matcher::.github/workflows/matchers/check-executables-have-shebangs.json" echo "::add-matcher::.github/workflows/matchers/codespell.json" - name: Run prek - uses: j178/prek-action@44924fe9ef4a6f88253c4b6b1bf11c689d3ce53d # v3.1.0 + uses: j178/prek-action@v3.1.0 env: PREK_SKIP: no-commit-to-branch,mypy,pylint,gen_requirements_all,hassfest,hassfest-metadata,hassfest-mypy-config,zizmor RUFF_OUTPUT_FORMAT: github @@ -319,14 +319,14 @@ jobs: - script/hassfest/docker/Dockerfile steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Register hadolint problem matcher run: | echo "::add-matcher::.github/workflows/matchers/hadolint.json" - name: Check ${{ matrix.file }} - uses: hadolint/hadolint-action@06be81baf89a55ffd0e24b8f04a4185738dd3387 # v3.5.0 + uses: hadolint/hadolint-action@v3.5.0 with: dockerfile: ${{ matrix.file }} no-color: true @@ -343,7 +343,7 @@ jobs: python-version: ${{ fromJson(needs.info.outputs.python_versions) }} steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Set up Python ${{ matrix.python-version }} and build venv @@ -362,7 +362,7 @@ jobs: python --version uv pip freeze >> pip_freeze.txt - name: Upload pip_freeze artifact - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: pip-freeze-${{ matrix.python-version }} path: pip_freeze.txt @@ -387,7 +387,7 @@ jobs: && github.event.inputs.audit-licenses-only != 'true' steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Install additional OS dependencies @@ -428,7 +428,7 @@ jobs: && github.event.inputs.audit-licenses-only != 'true' steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Set up Python and restore venv @@ -458,7 +458,7 @@ jobs: && needs.info.outputs.test_full_suite == 'true' steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Set up Python @@ -491,7 +491,7 @@ jobs: if: github.event_name == 'push' && github.ref == 'refs/heads/dev' steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Set up Python @@ -519,11 +519,11 @@ jobs: && github.event_name == 'pull_request' steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Dependency review - uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0 + uses: actions/dependency-review-action@v5.0.0 with: license-check: false # We use our own license audit checks @@ -546,7 +546,7 @@ jobs: python-version: ${{ fromJson(needs.info.outputs.python_versions) }} steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Set up Python ${{ matrix.python-version }} and restore venv @@ -565,7 +565,7 @@ jobs: . venv/bin/activate python -m script.licenses extract --output-file=licenses-${PYTHON_VERSION}.json - name: Upload licenses - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: licenses-${{ github.run_number }}-${{ matrix.python-version }} path: licenses-${{ matrix.python-version }}.json @@ -591,7 +591,7 @@ jobs: || github.event.inputs.pylint-only == 'true' steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Set up Python and restore venv @@ -638,7 +638,7 @@ jobs: && (needs.info.outputs.tests_glob || needs.info.outputs.test_full_suite == 'true') steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Set up Python and restore venv @@ -683,7 +683,7 @@ jobs: || github.event.inputs.mypy-only == 'true' steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Generate partial mypy restore key @@ -702,7 +702,7 @@ jobs: uv-cache-dir: ${{ env.UV_CACHE_DIR }} apt-cache-version: ${{ env.APT_CACHE_VERSION }} - name: Restore mypy cache - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + uses: actions/cache@v6.1.0 with: path: .mypy_cache key: >- @@ -751,7 +751,7 @@ jobs: || contains(fromJSON(needs.info.outputs.core), 'benchmarks')) steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Set up Python and restore venv @@ -764,7 +764,7 @@ jobs: uv-cache-dir: ${{ env.UV_CACHE_DIR }} apt-cache-version: ${{ env.APT_CACHE_VERSION }} - name: Run benchmarks - uses: CodSpeedHQ/action@af75f77f17a054769abefaa42fe8dc2975469b5f # v5.6.3 + uses: CodSpeedHQ/action@v5.6.3 with: mode: simulation,memory # No token: auth uses the OIDC id-token minted by the job permissions. @@ -786,7 +786,7 @@ jobs: && github.event.inputs.audit-licenses-only != 'true' steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Set up Python @@ -821,7 +821,7 @@ jobs: && needs.info.outputs.test_full_suite == 'true' steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Set up Python @@ -878,7 +878,7 @@ jobs: - base steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Install additional OS dependencies @@ -902,7 +902,7 @@ jobs: apt-cache-version: ${{ env.APT_CACHE_VERSION }} - name: Restore pytest test counts cache id: cache-pytest-counts - uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + uses: actions/cache/restore@v6.1.0 with: path: pytest_test_counts.json # Primary key is a sentinel; restore-keys pick the most recent @@ -937,7 +937,7 @@ jobs: steps.cache-pytest-counts.outputs.cache-matched-key, steps.cache-pytest-counts-hash.outputs.hash ) - uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + uses: actions/cache/save@v6.1.0 with: path: pytest_test_counts.json key: >- @@ -945,7 +945,7 @@ jobs: steps.python.outputs.python-version }}-${{ steps.cache-pytest-counts-hash.outputs.hash }} - name: Upload pytest_buckets - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: pytest_buckets path: pytest_buckets.txt @@ -974,7 +974,7 @@ jobs: group: ${{ fromJson(needs.info.outputs.test_groups) }} steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Install additional OS dependencies @@ -1001,7 +1001,7 @@ jobs: run: | echo "::add-matcher::.github/workflows/matchers/python.json" - name: Download pytest_buckets - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + uses: actions/download-artifact@v8.0.2 with: name: pytest_buckets - name: Compile English translations @@ -1050,14 +1050,14 @@ jobs: 2>&1 | tee pytest-${PYTHON_VERSION}-${TEST_GROUP}.txt - name: Upload pytest output if: success() || failure() && steps.pytest-full.conclusion == 'failure' - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: pytest-${{ github.run_number }}-${{ matrix.python-version }}-${{ matrix.group }} path: pytest-*.txt overwrite: true - name: Upload coverage artifact if: needs.info.outputs.skip_coverage != 'true' - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: coverage-${{ matrix.python-version }}-${{ matrix.group }} path: coverage.xml @@ -1070,7 +1070,7 @@ jobs: mv "junit.xml-tmp" "junit.xml" - name: Upload test results artifact if: needs.info.outputs.skip_coverage != 'true' && !cancelled() - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: test-results-full-${{ matrix.python-version }}-${{ matrix.group }} path: junit.xml @@ -1113,7 +1113,7 @@ jobs: mariadb-group: ${{ fromJson(needs.info.outputs.mariadb_groups) }} steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Install additional OS dependencies @@ -1188,7 +1188,7 @@ jobs: 2>&1 | tee pytest-${PYTHON_VERSION}-${mariadb}.txt - name: Upload pytest output if: success() || failure() && steps.pytest-partial.conclusion == 'failure' - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: pytest-${{ github.run_number }}-${{ matrix.python-version }}-${{ steps.pytest-partial.outputs.mariadb }} @@ -1196,7 +1196,7 @@ jobs: overwrite: true - name: Upload coverage artifact if: needs.info.outputs.skip_coverage != 'true' - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: coverage-${{ matrix.python-version }}-${{ steps.pytest-partial.outputs.mariadb }} @@ -1210,7 +1210,7 @@ jobs: mv "junit.xml-tmp" "junit.xml" - name: Upload test results artifact if: needs.info.outputs.skip_coverage != 'true' && !cancelled() - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: test-results-mariadb-${{ matrix.python-version }}-${{ steps.pytest-partial.outputs.mariadb }} @@ -1255,7 +1255,7 @@ jobs: postgresql-group: ${{ fromJson(needs.info.outputs.postgresql_groups) }} steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Install additional OS dependencies @@ -1337,7 +1337,7 @@ jobs: 2>&1 | tee pytest-${PYTHON_VERSION}-${postgresql}.txt - name: Upload pytest output if: success() || failure() && steps.pytest-partial.conclusion == 'failure' - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: pytest-${{ github.run_number }}-${{ matrix.python-version }}-${{ steps.pytest-partial.outputs.postgresql }} @@ -1345,7 +1345,7 @@ jobs: overwrite: true - name: Upload coverage artifact if: needs.info.outputs.skip_coverage != 'true' - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: coverage-${{ matrix.python-version }}-${{ steps.pytest-partial.outputs.postgresql }} @@ -1359,7 +1359,7 @@ jobs: mv "junit.xml-tmp" "junit.xml" - name: Upload test results artifact if: needs.info.outputs.skip_coverage != 'true' && !cancelled() - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: test-results-postgres-${{ matrix.python-version }}-${{ steps.pytest-partial.outputs.postgresql }} @@ -1390,7 +1390,7 @@ jobs: sqlite-group: ${{ fromJson(needs.info.outputs.sqlite_groups) }} steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Install additional OS dependencies @@ -1417,7 +1417,7 @@ jobs: run: | echo "::add-matcher::.github/workflows/matchers/python.json" - name: Restore vendored sqlite3 wheel cache - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + uses: actions/cache@v6.1.0 with: path: ~/sqlite3-vendor-wheel key: >- @@ -1470,7 +1470,7 @@ jobs: 2>&1 | tee pytest-${PYTHON_VERSION}-sqlite-${EXPECTED_SQLITE_VERSION}.txt - name: Upload pytest output if: success() || failure() && steps.pytest-partial.conclusion == 'failure' - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: pytest-${{ github.run_number }}-${{ matrix.python-version }}-sqlite-${{ @@ -1495,16 +1495,16 @@ jobs: if: needs.info.outputs.skip_coverage != 'true' steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Download all coverage artifacts - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + uses: actions/download-artifact@v8.0.2 with: pattern: coverage-* - name: Upload coverage to Codecov if: needs.info.outputs.test_full_suite == 'true' - uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 + uses: codecov/codecov-action@v7.1.1 with: fail_ci_if_error: true flags: full-suite @@ -1530,7 +1530,7 @@ jobs: group: ${{ fromJson(needs.info.outputs.test_groups) }} steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Install additional OS dependencies @@ -1605,14 +1605,14 @@ jobs: 2>&1 | tee pytest-${PYTHON_VERSION}-${TEST_GROUP}.txt - name: Upload pytest output if: success() || failure() && steps.pytest-partial.conclusion == 'failure' - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: pytest-${{ github.run_number }}-${{ matrix.python-version }}-${{ matrix.group }} path: pytest-*.txt overwrite: true - name: Upload coverage artifact if: needs.info.outputs.skip_coverage != 'true' - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: coverage-${{ matrix.python-version }}-${{ matrix.group }} path: coverage.xml @@ -1625,7 +1625,7 @@ jobs: mv "junit.xml-tmp" "junit.xml" - name: Upload test results artifact if: needs.info.outputs.skip_coverage != 'true' && !cancelled() - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: test-results-partial-${{ matrix.python-version }}-${{ matrix.group }} path: junit.xml @@ -1645,16 +1645,16 @@ jobs: - pytest-partial steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Download all coverage artifacts - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + uses: actions/download-artifact@v8.0.2 with: pattern: coverage-* - name: Upload coverage to Codecov if: needs.info.outputs.test_full_suite == 'false' - uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 + uses: codecov/codecov-action@v7.1.1 with: fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} # zizmor: ignore[secrets-outside-env] @@ -1678,11 +1678,11 @@ jobs: && needs.info.outputs.skip_coverage != 'true' && !cancelled() steps: - name: Download all coverage artifacts - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + uses: actions/download-artifact@v8.0.2 with: pattern: test-results-* - name: Upload test results to Codecov - uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 + uses: codecov/codecov-action@v7.1.1 with: report_type: test_results fail_ci_if_error: true diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 025577f3d4c4..0c2b5e34c873 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -23,16 +23,16 @@ jobs: steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Initialize CodeQL - uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 + uses: github/codeql-action/init@v4.39.3 with: languages: python - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 + uses: github/codeql-action/analyze@v4.39.3 with: category: "/language:python" diff --git a/.github/workflows/detect-duplicate-issues.yml b/.github/workflows/detect-duplicate-issues.yml index bd700e34de41..22e81838ed20 100644 --- a/.github/workflows/detect-duplicate-issues.yml +++ b/.github/workflows/detect-duplicate-issues.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Check if integration label was added and extract details id: extract - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 + uses: actions/github-script@v9.0.0 with: script: | // Debug: Log the event payload @@ -118,7 +118,7 @@ jobs: - name: Fetch similar issues id: fetch_similar if: steps.extract.outputs.should_continue == 'true' - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 + uses: actions/github-script@v9.0.0 env: INTEGRATION_LABELS: ${{ steps.extract.outputs.integration_labels }} CURRENT_NUMBER: ${{ steps.extract.outputs.current_number }} @@ -236,7 +236,7 @@ jobs: - name: Detect duplicates using AI id: ai_detection if: steps.extract.outputs.should_continue == 'true' && steps.fetch_similar.outputs.has_similar == 'true' - uses: actions/ai-inference@a7805884c80886efc241e94a5351df715968a0ad # v2.1.1 + uses: actions/ai-inference@v2.1.1 with: model: openai/gpt-4o system-prompt: | @@ -285,7 +285,7 @@ jobs: - name: Post duplicate detection results id: post_results if: steps.extract.outputs.should_continue == 'true' && steps.fetch_similar.outputs.has_similar == 'true' - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 + uses: actions/github-script@v9.0.0 env: AI_RESPONSE: ${{ steps.ai_detection.outputs.response }} SIMILAR_ISSUES: ${{ steps.fetch_similar.outputs.similar_issues }} diff --git a/.github/workflows/detect-non-english-issues.yml b/.github/workflows/detect-non-english-issues.yml index ac00daf13a01..dbac2339e9cf 100644 --- a/.github/workflows/detect-non-english-issues.yml +++ b/.github/workflows/detect-non-english-issues.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Check issue language id: detect_language - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 + uses: actions/github-script@v9.0.0 env: ISSUE_NUMBER: ${{ github.event.issue.number }} ISSUE_TITLE: ${{ github.event.issue.title }} @@ -62,7 +62,7 @@ jobs: - name: Detect language using AI id: ai_language_detection if: steps.detect_language.outputs.should_continue == 'true' - uses: actions/ai-inference@a7805884c80886efc241e94a5351df715968a0ad # v2.1.1 + uses: actions/ai-inference@v2.1.1 with: model: openai/gpt-4o-mini system-prompt: | @@ -95,7 +95,7 @@ jobs: - name: Process non-English issues if: steps.detect_language.outputs.should_continue == 'true' - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 + uses: actions/github-script@v9.0.0 env: AI_RESPONSE: ${{ steps.ai_language_detection.outputs.response }} ISSUE_NUMBER: ${{ steps.detect_language.outputs.issue_number }} diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index af6be5b6e78e..c00a973af03d 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -60,17 +60,17 @@ jobs: --health-retries=60 steps: - name: Check out code from GitHub - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Set up pnpm - uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1 + uses: pnpm/action-setup@v6.1.1 with: package_json_file: tests/e2e/package.json - name: Set up Node.js - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + uses: actions/setup-node@v7.1.0 with: node-version: "24" cache: pnpm @@ -90,7 +90,7 @@ jobs: - name: Upload Playwright report if: always() - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: playwright-report-${{ matrix.image_prefix }} path: | @@ -105,7 +105,7 @@ jobs: - name: Upload container logs if: always() - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: container-logs-${{ matrix.image_prefix }} path: homeassistant.log diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 57e7eeebb64f..4e8baa1a60a9 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -20,7 +20,7 @@ jobs: issues: write # To lock issues pull-requests: write # To lock pull requests steps: - - uses: dessant/lock-threads@89ae32b08ed1a541efecbab17912962a5e38981c # v6.0.2 + - uses: dessant/lock-threads@v6.0.2 with: github-token: ${{ github.token }} issue-inactive-days: "30" diff --git a/.github/workflows/restrict-task-creation.yml b/.github/workflows/restrict-task-creation.yml index 6c10806333ae..fa22907a2801 100644 --- a/.github/workflows/restrict-task-creation.yml +++ b/.github/workflows/restrict-task-creation.yml @@ -22,7 +22,7 @@ jobs: || github.event.issue.type.name == 'Opportunity' steps: - name: Add no-stale label - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 + uses: actions/github-script@v9.0.0 with: script: | await github.rest.issues.addLabels({ @@ -42,7 +42,7 @@ jobs: if: github.event.issue.type.name == 'Task' steps: - name: Check if user is authorized - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 + uses: actions/github-script@v9.0.0 with: script: | const issueAuthor = context.payload.issue.user.login; diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 5707d9acedfb..533ab7886a6d 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -27,7 +27,7 @@ jobs: - name: Generate app token id: token # Pinned to a specific version of the action for security reasons - uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0 + uses: actions/create-github-app-token@v3.3.0 with: permission-issues: write permission-pull-requests: write @@ -44,7 +44,7 @@ jobs: # - Issues # - No issues marked as no-stale or help-wanted - name: 60 days stale PRs policy and 90 days stale issue policy - uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0 + uses: actions/stale@v11.0.0 with: repo-token: ${{ steps.token.outputs.token }} remove-stale-when-updated: true diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 2172d1511432..ee82598f7d68 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -22,12 +22,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Set up Python - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + uses: actions/setup-python@v7.1.0 with: python-version-file: ".python-version" diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 2986424aa095..40a04528ede3 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -29,13 +29,13 @@ jobs: runs-on: ubuntu-26.04 steps: - name: Checkout the repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Set up Python id: python - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + uses: actions/setup-python@v7.1.0 with: python-version-file: ".python-version" check-latest: true @@ -75,7 +75,7 @@ jobs: ) > .env_file - name: Upload env_file - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: env_file path: ./.env_file @@ -83,7 +83,7 @@ jobs: overwrite: true - name: Upload requirements_diff - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: requirements_diff path: ./requirements_diff.txt @@ -95,7 +95,7 @@ jobs: python -m script.gen_requirements_all ci - name: Upload requirements_all_wheels - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: requirements_all_wheels path: ./requirements_all_wheels_*.txt @@ -117,17 +117,17 @@ jobs: os: ubuntu-26.04-arm steps: - name: Checkout the repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Download env_file - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + uses: actions/download-artifact@v8.0.2 with: name: env_file - name: Download requirements_diff - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + uses: actions/download-artifact@v8.0.2 with: name: requirements_diff @@ -138,7 +138,7 @@ jobs: sed -i "/uv/d" requirements_diff.txt - name: Build wheels - uses: home-assistant/wheels@a100f6a076013273baaaf94c908d647d91327364 # 2026.10.0 + uses: home-assistant/wheels@2026.10.0 with: abi: ${{ matrix.abi }} tag: musllinux_1_2 @@ -168,22 +168,22 @@ jobs: os: ubuntu-26.04-arm steps: - name: Checkout the repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Download env_file - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + uses: actions/download-artifact@v8.0.2 with: name: env_file - name: Download requirements_diff - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + uses: actions/download-artifact@v8.0.2 with: name: requirements_diff - name: Download requirements_all_wheels - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + uses: actions/download-artifact@v8.0.2 with: name: requirements_all_wheels @@ -196,7 +196,7 @@ jobs: sed -i "/uv/d" requirements_diff.txt - name: Build wheels - uses: home-assistant/wheels@a100f6a076013273baaaf94c908d647d91327364 # 2026.10.0 + uses: home-assistant/wheels@2026.10.0 with: abi: ${{ matrix.abi }} tag: musllinux_1_2 diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index f0eedffb524f..7f28332fcd6a 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -33,7 +33,7 @@ jobs: steps: - name: Check for relevant changes id: changes - uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3 + uses: dorny/paths-filter@v4.0.3 with: filters: | relevant: @@ -43,13 +43,13 @@ jobs: - name: Check out code from GitHub if: steps.changes.outputs.relevant == 'true' || github.event.pull_request.changed_files >= 3000 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Run Zizmor if: steps.changes.outputs.relevant == 'true' || github.event.pull_request.changed_files >= 3000 - uses: j178/prek-action@44924fe9ef4a6f88253c4b6b1bf11c689d3ce53d # v3.1.0 + uses: j178/prek-action@v3.1.0 with: extra-args: --all-files zizmor @@ -73,13 +73,13 @@ jobs: steps: - name: Check out accepted branch commit id: checkout - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: ref: ${{ github.event_name == 'push' && github.sha || matrix.branch }} persist-credentials: false - name: Set up uv - uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3 + uses: astral-sh/setup-uv@v10.3.3 with: version-file: requirements.txt @@ -100,7 +100,7 @@ jobs: printf '%s\n' "${SCAN_SHA}" > sha.txt - name: Upload SARIF artifact - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@v7.0.2 with: name: zizmor-sarif-${{ matrix.branch }} path: | @@ -125,7 +125,7 @@ jobs: security-events: write # To upload accepted-code findings steps: - name: Download SARIF artifact - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + uses: actions/download-artifact@v8.0.2 with: name: zizmor-sarif-${{ matrix.branch }} @@ -134,14 +134,14 @@ jobs: run: echo "sha=$(cat sha.txt)" >> "${GITHUB_OUTPUT}" - name: Check out scanned commit - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: ref: ${{ steps.sha.outputs.sha }} persist-credentials: false path: src - name: Upload accepted-code SARIF - uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 + uses: github/codeql-action/upload-sarif@v4.39.3 with: sarif_file: zizmor.sarif category: zizmor diff --git a/AGENTS.md b/AGENTS.md index 7653833ecef1..66f52e806509 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -47,6 +47,12 @@ This repository contains the core of Home Assistant, a Python 3 based home autom - We use Syrupy for snapshot testing. Leverage `.ambr` snapshots instead of repetitive and exhaustive generation of test data within Python code itself. - Hardcoded `entity_id`s in tests are fine. If the same one is repeated, use a constant. +## GitHub Actions workflows + +- `.github/workflows/actions.lock` locks the actions every workflow uses. After changing a `uses:` line or running `gh aw compile`, run `gh actions-lock --no-narrow` and commit the lockfile with the change. Without `--no-narrow` it rewrites intentional SHA pins to tags or branches. Install it with `gh extension install github/gh-actions-lock`. +- Don't edit `actions.lock` by hand. On a merge conflict, take the version from `dev` and run `gh actions-lock --no-narrow` again. +- `.github/aw/actions-lock.json` is gh-aw's own pin list, a different file. `gh aw compile` updates it. + ## Good practices - Integrations with Platinum or Gold level in the Integration Quality Scale reflect a high standard of code quality and maintainability. When looking for examples of something, these are good places to start. The level is indicated in the manifest.json of the integration.