mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
fix(ci): fix environment parsing (#4160)
This commit is contained in:
parent
d16428761c
commit
9cfd1ca8c4
6
.github/workflows/get-environment.yml
vendored
6
.github/workflows/get-environment.yml
vendored
@ -22,6 +22,12 @@ jobs:
|
||||
steps:
|
||||
- id: get_environment
|
||||
run: |
|
||||
if [[ -z "$GITHUB_HEAD_REF" ]]; then
|
||||
BRANCHNAME="$GITHUB_REF_NAME"
|
||||
else
|
||||
BRANCHNAME="$GITHUB_HEAD_REF"
|
||||
fi
|
||||
|
||||
case "$BRANCHNAME" in
|
||||
develop)
|
||||
STABILITY="unstable"
|
||||
|
Loading…
x
Reference in New Issue
Block a user