diff --git a/.github/workflows/auto-cl-update-atd.yml b/.github/workflows/auto-cl-update-atd.yml index 25e0e31fece..aba2d09de29 100644 --- a/.github/workflows/auto-cl-update-atd.yml +++ b/.github/workflows/auto-cl-update-atd.yml @@ -21,12 +21,7 @@ jobs: - name: Pull latest changes for update-changelog branch run: | git fetch origin - if git show-ref --verify --quiet refs/remotes/origin/update-changelog; then - git checkout update-changelog - git pull origin update-changelog --rebase - else - git checkout -b update-changelog - fi + git checkout -b update-changelog || git checkout update-changelog - name: Setup Python uses: actions/setup-python@v3