Always use environment for bump_version job (#2884)

As discussed here: https://github.com/home-assistant/operating-system/pull/2855#discussion_r1368533496
This commit is contained in:
Jan Čermák 2023-10-31 10:12:21 +01:00 committed by GitHub
parent 39778e882a
commit 5e5462ddde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,7 +250,7 @@ jobs:
bump_version:
name: Bump ${{ needs.prepare.outputs.channel }} channel version
if: ${{ github.repository == 'home-assistant/operating-system' }}
environment: "${{ github.event_name == 'release' && needs.prepare.outputs.channel || '' }}"
environment: ${{ needs.prepare.outputs.channel }}
needs: [ build, prepare ]
runs-on: ubuntu-22.04