File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 has_open_pr : ${{ steps.check.outputs.has_open_pr }}
2121 steps :
2222 - uses : actions/checkout@v4
23- with :
24- ref : main
2523 - name : Check for Existing Open Pull Request
2624 id : check
2725 uses : actions/github-script@v7
4644 steps :
4745 - uses : actions/checkout@v4
4846 with :
49- ref : main
5047 fetch-depth : 0
5148 - name : Generate Spring Cloud Azure Support File
5249 run : |
6966 } >> "$GITHUB_ENV"
7067 - name : Make Decision Based on Git Diff
7168 run : |
72- git checkout -b "${{ env.BRANCH_NAME }}"
69+ git fetch origin main
70+ git checkout -B "${{ env.BRANCH_NAME }}" origin/main
7371 if [[ -n "$(git status -s)" ]]; then
7472 echo "NEED_UPDATE_FILE=true" >> "$GITHUB_ENV"
7573 else
Original file line number Diff line number Diff line change 2020 skip_pipeline : ${{ steps.check_prs.outputs.skip_pipeline }}
2121 steps :
2222 - uses : actions/checkout@v4
23- with :
24- ref : main
2523 - name : Check for Open Spring Boot Upgrade PRs
2624 id : check_prs
2725 uses : actions/github-script@v7
4644 steps :
4745 - uses : actions/checkout@v4
4846 with :
49- ref : main
5047 fetch-depth : 0
5148 - name : Generate Version File
5249 run : |
7471 run : |
7572 echo "Updating Spring Boot Dependencies Version: ${{ env.spring_boot_version }}"
7673 echo "Updating Spring Cloud Dependencies Version: ${{ env.spring_cloud_version }}"
77- git checkout -b "${{ env.update_branch }}"
74+ git fetch origin main
75+ git checkout -B "${{ env.update_branch }}" origin/main
7876 pip install termcolor
7977 python ./sdk/spring/scripts/get_spring_boot_managed_external_dependencies.py -b "${{ env.spring_boot_version }}" -c "${{ env.spring_cloud_version }}"
8078 - name : Update external_dependencies.txt
You can’t perform that action at this time.
0 commit comments