Skip to content

Ability to add multiple environments #62

@khalilgharbaoui

Description

@khalilgharbaoui

Currently, It's possible to optionally add a single environment.

- uses: actions/checkout@v2
- name: Create Sentry release
  uses: getsentry/action-release@v1
  env:
     . . .
  with:
    environment: production  #<<<

It would be great to be able to add multiple environments for example:

  with:
    environments: [production, staging]

Or:

  with:
    environments:
     - production
     - staging
     - ...

The only way to achieve this kind of behavior now is to have it all twice, which is a pain. Especially if you want to be specific.

Metadata

Metadata

Assignees

No one assigned
    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