chore(actions): rebase only if not main (#3435)

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
Rajesh Rajendran 2025-05-26 16:04:50 +02:00 committed by rjshrjndrn
parent d42eb0333c
commit cf0fcd3893

View file

@ -25,6 +25,7 @@ jobs:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Rebase with main branch, to make sure the code has latest main changes
if: github.ref != 'refs/heads/main'
run: |
git remote -v
git config --global user.email "action@github.com"