Skip to content

fix(ci): scaffolded workflow_call workflows do not declare inherited secrets #1016

Closed

Description

@c-vigo

Found during 1.1.0-rc1 validation (PR #1014).

assets/workspace/.github/workflows/release-publish.yml and release-core.yml
are workflow_call workflows. They reference GHCR_PULL_TOKEN,
RELEASE_APP_CLIENT_ID, RELEASE_APP_PRIVATE_KEY (and, in release-core.yml,
COMMIT_APP_CLIENT_ID / COMMIT_APP_PRIVATE_KEY) but declare only token: in
their workflow_call: secrets: block.

In a workflow_call workflow actionlint knows the declared secrets set, so every
undeclared reference is reported as property "..." is not defined. Consumers
scaffolded from the workspace assets therefore get a dirty actionlint run out
of the box. The devkit s own copies lint clean.

Expected: declare the inherited secrets in the workflow_call: secrets:
block of both files so a scaffolded consumer lints clean.

Not in scope: promote-release.yml, release.yml, sync-issues.yml,
sync-main-to-dev.yml are workflow_dispatch/push/schedule triggered, where
secrets are ambient and need no declaration.

Refs: #988

Activity

  1. added
    bug
    on Jul 13, 2026
  2. c-vigo commented on Jul 13, 2026

    @c-vigo
    ContributorAuthor

    Fixed by #1018 (commit cf9f473e — fix(ci): declare inherited secrets in scaffolded workflow_call workflows), released in 1.1.0.

    release-publish.yml and release-core.yml now declare their inherited secrets in the workflow_call: secrets: block, so a scaffolded consumer gets a clean actionlint run out of the box. Covered by the RED test in 9ac584c2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions