Skip to content

Plumb GH_TOKEN to Acquisition outerloop/integration tests via test properties bag #16182

@radical

Description

@radical

Summary

The Acquisition test project (tests/Aspire.Acquisition.Tests) includes outerloop integration tests (PRScriptIntegrationTests) that require GH_TOKEN to call real GitHub APIs. Currently, the token is not provided to these tests when run in the outerloop workflow.

In PR #15995, we removed the || inputs.testShortName == 'Acquisition' special-case from run-tests.yml to avoid unnecessarily exposing GH_TOKEN to the normal (non-outerloop) Acquisition tests, which use mock gh scripts and don't need the token.

What's Needed

Once #16056 (generic properties bag for test pipeline) is merged, add a requiresGhToken MSBuild property to the Acquisition test project so the outerloop workflow can provide GH_TOKEN without hardcoding test names in the workflow YAML.

Blocked By

Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-engineering-systemsinfrastructure helix infra engineering repo stuff

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions