We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5074c52 commit 543640bCopy full SHA for 543640b
.github/workflows/k8s_apply.yml
@@ -12,8 +12,8 @@ permissions:
12
jobs:
13
k8-apply:
14
name: 'K8: Apply'
15
- runs-on: [self-hosted, "${{ github.event.ref_name }}"]
16
- environment: ${{ github.ref_name }}
+ runs-on: [self-hosted, "${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || github.ref_name }}"]
+ environment: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || github.ref_name }}
17
env:
18
KUBELOGIN_VERSION: "v0.0.25"
19
KUBERNETES_CLUSTER_REPO_NAME: "${{ vars.KUBERNETES_CLUSTER_REPO_NAME }}"
0 commit comments