Skip to content

Commit

Permalink
fix(CICD): Changing the order of execution of the setup git config in…
Browse files Browse the repository at this point in the history
… the cicd_post_sync-main-with-master.yml workflow (#29951)

### Proposed Changes
* The order of execution of the steps was changed to avoid failures
Refs: #29840
  • Loading branch information
nollymar authored Sep 10, 2024
1 parent ca2cff9 commit ef1d65d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cicd_post_sync-main-with-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: 'Setup git config'
run: |
git config user.name "${{ secrets.CI_MACHINE_USER }}"
git config user.email "[email protected]"
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all branches

- name: 'Setup git config'
run: |
git config user.name "${{ secrets.CI_MACHINE_USER }}"
git config user.email "[email protected]"
- name: Create or update main branch
run: |
# Check if 'main' branch exists
Expand Down

0 comments on commit ef1d65d

Please sign in to comment.