Skip to content

[ENG-178] Wildcard match for infisical.json #1074

@imrane

Description

@imrane

Feature description

Right now the branch and related secrets are hardcoded...ie.

{
  "workspaceId": "63ee5410a45f7a1ed39ba118",
  "gitBranchToEnvironmentMapping": {
    "branchName": "dev",
    "anotherBranchName": "staging"
  }
}

Would be more useful to have wildcard matching similar to how secrets are linked, so we could write something like...

{
  "workspaceId": "63ee5410a45f7a1ed39ba118",
  "gitBranchToEnvironmentMapping": {
    "feat/**": "dev",
    "fix/**": "dev"
  }
}

Why would it be useful?

Many teams have multiple active branches in development and name them accordingly e.g.feat/add-infisical-support. A wildcard would better match these branches.

Additional context

I think it's fairly straight forward.

From SyncLinear.com | ENG-178

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions