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

ENVIRONEMNT_ID does not include branch name #20

@pixelass

Description

Reading through the source code the ENVIRONMENT_ID should include the branch name.

source: https://github.com/contentful/contentful-action/blob/main/index.js#L44-L66

Expected Behavior:

GH-my-branch-name

Actual Behavior:

GH-merge

Context

Running with the following configuration
Running on feature branch
ENVIRONMENT_ID: GH-merge
Checking for existing versions of environment: GH-merge
Environment not found
Creating environment GH-merge

workflow/action

      - uses: contentful/contentful-action@v1
        env:
          SPACE_ID: ${{ secrets.SPACE_ID }}
          MANAGEMENT_API_KEY: ${{ secrets.MANAGEMENT_API_KEY }}

I also looked through https://github.com/contentful-labs/contentful-action-example but found no hints to faulty usage from our side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions