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 24a6fae commit 5c8c71eCopy full SHA for 5c8c71e
.github/workflows/k8s_db_migrate.yml
@@ -23,8 +23,8 @@ permissions:
23
jobs:
24
k8-db-migrate:
25
name: 'K8: Database Migrate'
26
- runs-on: [self-hosted, "${{ github.ref_name }}"]
27
- 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 }}
28
env:
29
KUBELOGIN_VERSION: "v0.0.25"
30
KUBERNETES_CLUSTER_REPO_NAME: "${{ vars.KUBERNETES_CLUSTER_REPO_NAME }}"
0 commit comments