diff --git a/.github/actions/setup-tools/action.yml b/.github/actions/setup-tools/action.yml index 02ece039b..98d2a9d37 100644 --- a/.github/actions/setup-tools/action.yml +++ b/.github/actions/setup-tools/action.yml @@ -34,7 +34,7 @@ runs: - name: Cache pnpm store if: inputs.cache-pnpm-store == 'true' - uses: actions/cache@v5 + uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5 with: path: ${{ steps.pnpm-store.outputs.path }} key: pnpm-store-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} diff --git a/.github/workflows/auto-merge-dependencies.yml b/.github/workflows/auto-merge-dependencies.yml index 4bae0a86f..0a6109c4e 100644 --- a/.github/workflows/auto-merge-dependencies.yml +++ b/.github/workflows/auto-merge-dependencies.yml @@ -85,7 +85,7 @@ jobs: - name: Generate GitHub App Token id: app-token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 with: app-id: ${{ secrets.COMMIT_BOT_APP_ID }} private-key: ${{ secrets.COMMIT_BOT_APP_PRIVATE_KEY }} diff --git a/.github/workflows/auto-merge-l10n.yml b/.github/workflows/auto-merge-l10n.yml index 94602dc9c..4b2698a6f 100644 --- a/.github/workflows/auto-merge-l10n.yml +++ b/.github/workflows/auto-merge-l10n.yml @@ -98,7 +98,7 @@ jobs: - name: Generate GitHub App Token id: app-token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 with: app-id: ${{ secrets.COMMIT_BOT_APP_ID }} private-key: ${{ secrets.COMMIT_BOT_APP_PRIVATE_KEY }} diff --git a/.github/workflows/build-package.yml b/.github/workflows/build-package.yml index f15a1e29b..2bf66d22e 100644 --- a/.github/workflows/build-package.yml +++ b/.github/workflows/build-package.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: ref: ${{ inputs.ref || github.sha }} @@ -51,7 +51,7 @@ jobs: mise run py:package - name: Archive built package - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 with: name: backend-dist path: dist diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 54cb8b24f..ad89fc50b 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -44,7 +44,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2c0d5299a..341c0be8f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -26,7 +26,7 @@ jobs: # [tool.uv] exclude-newer cooling window). UV_FROZEN: "1" steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Set up tools uses: ./.github/actions/setup-tools @@ -41,7 +41,7 @@ jobs: working-directory: docs - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3 with: path: docs/site @@ -54,4 +54,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4 diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 84188cb13..2ec292bf0 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -10,7 +10,7 @@ jobs: run: working-directory: ./tests/e2e steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Set up tools uses: ./.github/actions/setup-tools with: @@ -26,14 +26,14 @@ jobs: nohup bash -c 'pnpm playwright install --with-deps; echo $? > /tmp/playwright-install.status' \ > /tmp/playwright-install.log 2>&1 & - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v4 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4 - name: Retrieve Python package - uses: actions/download-artifact@v6 + uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6 with: name: backend-dist path: dist - name: Build Image - uses: docker/build-push-action@v7 + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7 with: file: ./docker/Dockerfile context: . @@ -69,7 +69,7 @@ jobs: run: pnpm playwright test - name: Archive Playwright report if: failure() - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 with: name: playwright-report path: | diff --git a/.github/workflows/locale-sync.yml b/.github/workflows/locale-sync.yml index 2587043f4..6c50232fe 100644 --- a/.github/workflows/locale-sync.yml +++ b/.github/workflows/locale-sync.yml @@ -21,13 +21,13 @@ jobs: steps: - name: Generate GitHub App Token id: app-token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 with: app-id: ${{ secrets.COMMIT_BOT_APP_ID }} private-key: ${{ secrets.COMMIT_BOT_APP_PRIVATE_KEY }} - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: token: ${{ steps.app-token.outputs.token }} @@ -38,7 +38,7 @@ jobs: - name: Load cached venv id: cached-python-dependencies - uses: actions/cache@v5 + uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5 with: # The venv links to the mise Python, so a Python change in mise.toml must miss the cache path: .venv diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 1e6ea0257..c525e9b3b 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -62,6 +62,6 @@ jobs: - name: Discord notification env: DISCORD_WEBHOOK: ${{ secrets.DISCORD_NIGHTLY_WEBHOOK }} - uses: Ilshidur/action-discord@0.3.2 + uses: Ilshidur/action-discord@d2594079a10f1d6739ee50a2471f0ca57418b554 # 0.4.0 with: args: "🚀 New builds of ghcr.io/mealie-recipes/mealie:nightly" diff --git a/.github/workflows/partial-trivy-container-scanning.yml b/.github/workflows/partial-trivy-container-scanning.yml index 2b51f7e2c..73c453b57 100644 --- a/.github/workflows/partial-trivy-container-scanning.yml +++ b/.github/workflows/partial-trivy-container-scanning.yml @@ -11,10 +11,10 @@ jobs: fail-fast: true steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Retrieve Python package - uses: actions/download-artifact@v6 + uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6 with: name: backend-dist path: dist diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2a57aebca..8f3358dfb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: ref: ${{ inputs.ref || github.sha }} @@ -40,11 +40,11 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - uses: depot/setup-action@v1 + - uses: depot/setup-action@91bc8495a33ebfc504ffc89e5674379ccf23c29c # v1 - name: Generate Docker metadata id: meta - uses: docker/metadata-action@v6 + uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6 with: images: | hkotel/mealie @@ -55,13 +55,13 @@ jobs: org.opencontainers.image.revision=${{ inputs.ref || github.sha }} - name: Retrieve Python package - uses: actions/download-artifact@v6 + uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6 with: name: backend-dist path: dist - name: Build and push Docker image, via Depot.dev - uses: depot/build-push-action@v1 + uses: depot/build-push-action@0f27be7c41d76663a98518dfe68f1c46582242c4 # v1 with: project: srzjb6mhzm file: ./docker/Dockerfile diff --git a/.github/workflows/pull-request-lint.yml b/.github/workflows/pull-request-lint.yml index 0181455c9..a270fd8b7 100644 --- a/.github/workflows/pull-request-lint.yml +++ b/.github/workflows/pull-request-lint.yml @@ -49,7 +49,7 @@ jobs: pull-requests: write steps: - name: Check required PR template sections - uses: actions/github-script@v7 + uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 with: script: | const pr = context.payload.pull_request; diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 935568664..b315119ff 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -17,7 +17,7 @@ jobs: permissions: contents: write steps: - - uses: release-drafter/release-drafter@v7 + - uses: release-drafter/release-drafter@978bb0b30c5ee8cdd332ced253758157150d43f0 # v7 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -27,6 +27,6 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: release-drafter/release-drafter/autolabeler@v7 + - uses: release-drafter/release-drafter/autolabeler@978bb0b30c5ee8cdd332ced253758157150d43f0 # v7 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc4adc27f..67e73d49c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,13 +15,13 @@ jobs: steps: - name: Generate GitHub App Token id: app-token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 with: app-id: ${{ secrets.COMMIT_BOT_APP_ID }} private-key: ${{ secrets.COMMIT_BOT_APP_PRIVATE_KEY }} - name: Checkout 🛎 - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: token: ${{ steps.app-token.outputs.token }} @@ -118,13 +118,13 @@ jobs: steps: - name: Generate GitHub App Token id: app-token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 with: app-id: ${{ secrets.COMMIT_BOT_APP_ID }} private-key: ${{ secrets.COMMIT_BOT_APP_PRIVATE_KEY }} - name: Checkout 🛎 - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: token: ${{ steps.app-token.outputs.token }} fetch-depth: 0 @@ -153,6 +153,6 @@ jobs: - name: Discord notification env: DISCORD_WEBHOOK: ${{ secrets.DISCORD_RELEASE_WEBHOOK }} - uses: Ilshidur/action-discord@0.3.2 + uses: Ilshidur/action-discord@d2594079a10f1d6739ee50a2471f0ca57418b554 # 0.4.0 with: args: "🚀 Version {{ EVENT_PAYLOAD.release.tag_name }} of Mealie has been released. See the release notes https://github.com/mealie-recipes/mealie/releases/tag/{{ EVENT_PAYLOAD.release.tag_name }}" diff --git a/.github/workflows/scheduled-checks.yml b/.github/workflows/scheduled-checks.yml index 6e700e1ca..6e36acef7 100644 --- a/.github/workflows/scheduled-checks.yml +++ b/.github/workflows/scheduled-checks.yml @@ -13,7 +13,7 @@ jobs: pull-requests: write steps: - name: Checkout 🛎 - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Set up tools uses: ./.github/actions/setup-tools @@ -25,7 +25,7 @@ jobs: run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV - name: Cache - uses: actions/cache@v5 + uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5 with: path: | ~/.cache/pre-commit @@ -42,14 +42,14 @@ jobs: - name: Generate GitHub App Token id: app-token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 with: app-id: ${{ secrets.COMMIT_BOT_APP_ID }} private-key: ${{ secrets.COMMIT_BOT_APP_PRIVATE_KEY }} - name: Create Pull Request id: create-pr - uses: peter-evans/create-pull-request@v8 + uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8 with: token: ${{ steps.app-token.outputs.token }} commit-message: "Update pre-commit hooks" diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 9a5c50881..bed9912ac 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -12,7 +12,7 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v9 + - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9 with: stale-issue-label: 'stale' exempt-issue-labels: 'pinned,security,early-stages,bug: confirmed,feedback,task' diff --git a/.github/workflows/test-backend.yml b/.github/workflows/test-backend.yml index 9a68af4cf..813a51393 100644 --- a/.github/workflows/test-backend.yml +++ b/.github/workflows/test-backend.yml @@ -45,7 +45,7 @@ jobs: # Steps steps: - name: Check out repository - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: ref: ${{ inputs.ref || github.sha }} @@ -62,7 +62,7 @@ jobs: - name: Load cached venv id: cached-python-dependencies - uses: actions/cache@v5 + uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5 with: # The venv links to the mise Python, so a Python change in mise.toml must miss the cache path: .venv @@ -90,7 +90,7 @@ jobs: # Database-independent, so only run once - name: Load cached pre-commit hooks if: matrix.Database == 'sqlite' - uses: actions/cache@v5 + uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5 with: path: ~/.cache/pre-commit key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }} diff --git a/.github/workflows/test-frontend.yml b/.github/workflows/test-frontend.yml index a01ed3b68..4c06b0839 100644 --- a/.github/workflows/test-frontend.yml +++ b/.github/workflows/test-frontend.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout 🛎 - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: ref: ${{ inputs.ref || github.sha }}