Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Write (or find existing) GitHub Action for fetching another repository at the same branch name #10767

@DMRobertson

Description

@DMRobertson

We used to rely on $BUILDKITE_BRANCHfor this. GitHub's actions are finer-grained and don't have a 1:1 replacement for this environment variable.

#10160 uses a shell script to try and extract a branch name from various environment variables. Failing that, it falls back to a specific named mainline branch. I needed this in matrix-org/sytest#1129. It'd be nice if we had an action for this rather than copying and pasting a shell script everywhere.

Raising this against synapse for now, in lieu of a place for generic matrix-org issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4(OBSOLETE: use S- labels.) Okay backlog: will not schedule, will accept patchesS-TolerableMinor significance, cosmetic issues, low or no impact to users.T-TaskRefactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions