Skip to content

Reusable test-suite workflow doesn't receive repository secrets #218

Closed

Description

@jaraco

Since #199 moved the test steps into the reusable .github/workflows/test-suite.yml (invoked via workflow_call), the called workflow no longer has access to the calling repository's secrets. GitHub Actions only passes secrets to a reusable workflow when the caller supplies secrets: (explicitly or via secrets: inherit).

Downstream projects that relied on secrets during tests (e.g. jaraco/wolframalpha, which exposes WOLFRAMALPHA_API_KEY to the test run) lose them after merging the skeleton. Worse, if the tests skip when the secret is absent, CI keeps passing while silently skipping those tests.

Proposed fix: add secrets: inherit to the test and collateral jobs in main.yml, so downstream projects can reference ${{ secrets.* }} in test-suite.yml (e.g. in its env) without further plumbing.

🤖 Generated with Claude Code

Activity

  1. added a commit that references this issue on Oct 2, 2026
    9695460
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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions