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:
liujian
2024-09-24 10:36:16 +08:00
committed by GitHub
parent ecdffc7d73
commit 147db98c14

View File

@@ -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 \