Support Deployment Environment field for Reusable Workflows #18085
Unanswered
HariSekhon
asked this question in
Actions
Replies: 1 comment
-
This would be a very nice upgrade to shared workflows! Also to call out a very important relation to this, having the An example of what I would like to be able to create: name: Publish
on:
release:
types: [published]
jobs:
publish:
strategy:
matrix:
cloud_env:
- { name: production, prerelease: ${{ github.event.release.prerelease }} }
- { name: development }
exclude:
- cloud_env: { name: production, prerelease: true }
environment: ${{ matrix.cloud_env.name }}
uses: org/repo/.github/workflows/publish.yml@main
with:
account-id: ${{ vars.ACCOUNT_ID }}
secrets: inherit |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature Request to allow the environment field to be set on a calling reusable workflow, eg:
Currently, the workaround is to have to design inputs for each field in the called workflow and pass through every parameter, which is not ideal.
Beta Was this translation helpful? Give feedback.
All reactions