fix: failed to get PR in kubesphere/helm-charts (#6199)
Update sync-helm-chart.yaml failed to get PR Signed-off-by: liujian <54946465+redscholar@users.noreply.github.com>
This commit is contained in:
2
.github/workflows/sync-helm-chart.yaml
vendored
2
.github/workflows/sync-helm-chart.yaml
vendored
@@ -60,7 +60,7 @@ jobs:
|
|||||||
GH_TOKEN: ${{ secrets.CIBOT_ACCESS_TOKEN }}
|
GH_TOKEN: ${{ secrets.CIBOT_ACCESS_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
cd helm-charts
|
cd helm-charts
|
||||||
if [[ $(gh pr ls -R kubesphere/helm-charts -H ks-ci-bot:sync/ks-core/${GITHUB_REF#refs/*/} -B master) == "" ]]; then
|
if [[ $(gh pr ls -R kubesphere/helm-charts -A ks-ci-bot -H sync/ks-core/${GITHUB_REF#refs/*/} -B master) == "" ]]; then
|
||||||
# Create a PR in the kubesphere/helm-charts repository
|
# Create a PR in the kubesphere/helm-charts repository
|
||||||
gh pr create -R kubesphere/helm-charts \
|
gh pr create -R kubesphere/helm-charts \
|
||||||
-B master \
|
-B master \
|
||||||
|
|||||||
Reference in New Issue
Block a user