From ff67769c490b5ba10cfe39196603897785bb4da1 Mon Sep 17 00:00:00 2001 From: FredApps <153173854+FredApps@users.noreply.github.com> Date: Fri, 27 Nov 2026 14:43:37 +0700 Subject: [PATCH] ci: pass only the dispatch token to the notify-services workflow secrets: inherit hands the called workflow every repository secret, including the signing credentials. The reusable workflow only reads ARTCRAFT_SERVICES_DISPATCH_TOKEN, so map just that one. Also record notify-services.yml in actions.lock so `gh actions-lock --verify` passes. --- .github/workflows/actions.lock | 5 +++-- .github/workflows/notify-services.yml | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock index 208d35e10..5f9a6d7f1 100644 --- a/.github/workflows/actions.lock +++ b/.github/workflows/actions.lock @@ -11,12 +11,13 @@ workflows: '.github/workflows/lockfile.yml': - 'actions/checkout@v7.0.1' - 'step-security/harden-runner@v2.22.4' - '.github/workflows/nightly-sign.yml': [] - '.github/workflows/nightly.yml': [] '.github/workflows/nightly-macos.yml': - 'actions/checkout@v7.0.1' - 'step-security/harden-runner@v2.22.4' + '.github/workflows/nightly-sign.yml': [] + '.github/workflows/nightly.yml': [] '.github/workflows/nix.yml': [] + '.github/workflows/notify-services.yml': [] '.github/workflows/packaging-lint.yml': - 'actions/checkout@v7.0.1' - 'step-security/harden-runner@v2.22.4' diff --git a/.github/workflows/notify-services.yml b/.github/workflows/notify-services.yml index 9e31f08a9..3dc8eaf4a 100644 --- a/.github/workflows/notify-services.yml +++ b/.github/workflows/notify-services.yml @@ -16,4 +16,5 @@ permissions: {} jobs: notify: uses: storytold/craft-common-actions/.github/workflows/notify-services.yml@main - secrets: inherit + secrets: + ARTCRAFT_SERVICES_DISPATCH_TOKEN: ${{ secrets.ARTCRAFT_SERVICES_DISPATCH_TOKEN }}