We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2cecb6 commit d58176cCopy full SHA for d58176c
.github/workflows/infra-k8s-preview.yml
@@ -24,10 +24,11 @@ jobs:
24
filter-file: .github/k8s-rollout-filters.yaml
25
- name: Ensure access to private repositories
26
shell: bash
27
- if: "${{ secrets.K8S_MODULES_SECRET != '' }}"
28
run: |
29
- AUTH="x-access-token:${{ secrets.K8S_MODULES_SECRET }}"
30
- git config --global url."https://${AUTH}@github.com/".insteadOf "git@github.com:"
+ if [ "${{ secrets.K8S_MODULES_SECRET }}" != "null" ]; then
+ AUTH="x-access-token:${{ secrets.K8S_MODULES_SECRET }}"
+ git config --global url."https://${AUTH}@github.com/".insteadOf "git@github.com:"
31
+ fi
32
- name: Generate diffs
33
id: preview
34
0 commit comments