diff --git a/.github/workflows/bsim-tests.yaml b/.github/workflows/bsim-tests.yaml index 0c50ca5d6fd..c879623d13d 100644 --- a/.github/workflows/bsim-tests.yaml +++ b/.github/workflows/bsim-tests.yaml @@ -77,6 +77,7 @@ jobs: git config --global user.name "Zephyr Bot" rm -fr ".git/rebase-apply" git rebase origin/${BASE_REF} + git clean -f -d git log --pretty=oneline | head -n 10 west init -l . || true west config manifest.group-filter -- +ci diff --git a/.github/workflows/clang.yaml b/.github/workflows/clang.yaml index e88141a9e23..ac1c26f552f 100644 --- a/.github/workflows/clang.yaml +++ b/.github/workflows/clang.yaml @@ -62,6 +62,7 @@ jobs: git config --global user.name "Zephyr Bot" rm -fr ".git/rebase-apply" git rebase origin/${BASE_REF} + git clean -f -d git log --pretty=oneline | head -n 10 west init -l . || true west config --global update.narrow true diff --git a/.github/workflows/coding_guidelines.yml b/.github/workflows/coding_guidelines.yml index 1bc6ee2e666..97d2301a9e3 100644 --- a/.github/workflows/coding_guidelines.yml +++ b/.github/workflows/coding_guidelines.yml @@ -41,6 +41,7 @@ jobs: git config --global user.name "Github Actions" git remote -v git rebase origin/${BASE_REF} + git clean -f -d source zephyr-env.sh # debug ls -la diff --git a/.github/workflows/compliance.yml b/.github/workflows/compliance.yml index 39815d8baa3..48dfa237aca 100644 --- a/.github/workflows/compliance.yml +++ b/.github/workflows/compliance.yml @@ -52,6 +52,7 @@ jobs: [[ "$(git rev-list --merges --count origin/${BASE_REF}..)" == "0" ]] || \ (echo "::error ::Merge commits not allowed, rebase instead";false) git rebase origin/${BASE_REF} + git clean -f -d # debug git log --pretty=oneline | head -n 10 west init -l . || true diff --git a/.github/workflows/doc-build.yml b/.github/workflows/doc-build.yml index 1872a824604..c7009b2450c 100644 --- a/.github/workflows/doc-build.yml +++ b/.github/workflows/doc-build.yml @@ -94,6 +94,7 @@ jobs: git config --global user.email "actions@zephyrproject.org" git config --global user.name "Github Actions" git rebase origin/${BASE_REF} + git clean -f -d git log --graph --oneline HEAD...${PR_HEAD} - name: cache-pip diff --git a/.github/workflows/hello_world_multiplatform.yaml b/.github/workflows/hello_world_multiplatform.yaml index 08fd42d7866..3543fb3fd54 100644 --- a/.github/workflows/hello_world_multiplatform.yaml +++ b/.github/workflows/hello_world_multiplatform.yaml @@ -46,6 +46,7 @@ jobs: git config --global user.email "actions@zephyrproject.org" git config --global user.name "Github Actions" git rebase origin/${BASE_REF} + git clean -f -d git log --graph --oneline HEAD...${PR_HEAD} - name: Set up Python diff --git a/.github/workflows/scripts_tests.yml b/.github/workflows/scripts_tests.yml index 86db35ae02e..20d116bcff5 100644 --- a/.github/workflows/scripts_tests.yml +++ b/.github/workflows/scripts_tests.yml @@ -43,6 +43,7 @@ jobs: git config --global user.email "actions@zephyrproject.org" git config --global user.name "Github Actions" git rebase origin/${BASE_REF} + git clean -f -d git log --graph --oneline HEAD...${PR_HEAD} - name: Set up Python ${{ matrix.python-version }} diff --git a/.github/workflows/twister.yaml b/.github/workflows/twister.yaml index cc3c9e3ffdf..a4bc219f36d 100644 --- a/.github/workflows/twister.yaml +++ b/.github/workflows/twister.yaml @@ -77,6 +77,7 @@ jobs: git config --global user.name "Zephyr Bot" rm -fr ".git/rebase-apply" git rebase origin/${BASE_REF} + git clean -f -d git log --pretty=oneline | head -n 10 west init -l . || true west config manifest.group-filter -- +ci,+optional @@ -185,6 +186,7 @@ jobs: git config --global user.name "Zephyr Builder" rm -fr ".git/rebase-apply" git rebase origin/${BASE_REF} + git clean -f -d git log --pretty=oneline | head -n 10 fi echo "$HOME/.local/bin" >> $GITHUB_PATH