Skip to content
This repository has been 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

Open
DMRobertson opened this issue Sep 6, 2021 · 1 comment
Labels
P4 (OBSOLETE: use S- labels.) Okay backlog: will not schedule, will accept patches S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.

Comments

@DMRobertson
Copy link
Contributor

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.

@DMRobertson DMRobertson added P5 (OBSOLETE: use S- labels.) Dubious backlog: will not schedule, but may consider patches S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks. labels Sep 6, 2021
@callahad callahad added P4 (OBSOLETE: use S- labels.) Okay backlog: will not schedule, will accept patches and removed P5 (OBSOLETE: use S- labels.) Dubious backlog: will not schedule, but may consider patches labels Sep 6, 2021
@clokep
Copy link
Member

clokep commented Sep 7, 2021

We also have something similar in complement, by the way.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P4 (OBSOLETE: use S- labels.) Okay backlog: will not schedule, will accept patches S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
Projects
None yet
Development

No branches or pull requests

3 participants