mirror of
https://github.com/bitwarden/server.git
synced 2025-02-18 02:11:22 +01:00
test github.head_ref
This commit is contained in:
parent
ddc100c995
commit
47bd15d96b
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -549,7 +549,7 @@ jobs:
|
||||
|
||||
trigger-k8s-deploy:
|
||||
name: Trigger k8s deploy
|
||||
if: github.ref == 'refs/heads/main'
|
||||
if: github.head_ref == 'refs/heads/main'
|
||||
runs-on: ubuntu-22.04
|
||||
needs: build-docker
|
||||
steps:
|
||||
@ -583,7 +583,7 @@ jobs:
|
||||
|
||||
trigger-ee-updates:
|
||||
name: Trigger Ephemeral Environment updates
|
||||
if: github.ref != 'refs/heads/main' && contains(github.event.pull_request.labels.*.name, 'ephemeral-environment')
|
||||
if: github.head_ref != 'refs/heads/main' && contains(github.event.pull_request.labels.*.name, 'ephemeral-environment')
|
||||
runs-on: ubuntu-24.04
|
||||
needs: build-docker
|
||||
steps:
|
||||
|
Loading…
Reference in New Issue
Block a user