diff --git a/.github/workflows/commit-checker.yml b/.github/workflows/commit-checker.yml new file mode 100644 index 00000000..37e1f66c --- /dev/null +++ b/.github/workflows/commit-checker.yml @@ -0,0 +1,22 @@ +name: Commit Msg Check Action + +on: + pull_request: + types: [opened, synchronize, reopened] + +jobs: + check-commits: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Run custom commit check + uses: qualcomm/commit-msg-check-action@main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + body-char-limit: 72 + sub-char-limit: 50 + check-blank-line: true diff --git a/ci/files_to_copy.sh b/ci/files_to_copy.sh index c66f741d..9bb4d592 100644 --- a/ci/files_to_copy.sh +++ b/ci/files_to_copy.sh @@ -6,6 +6,8 @@ # Move outside the github workspace to avoid conflicts cd .. +sudo touch graphmger.txt +sudo cp -R graphmger.txt /tmp/rootfs/etc/ # copy the build artifacts to a temporary directory -cp -R build/usr/* /tmp/rootfs/usr/ -cp -R build/etc/* /tmp/rootfs/etc/ +sudo cp -R build/usr/* /tmp/rootfs/usr/ +sudo cp -R build/etc/* /tmp/rootfs/etc/ diff --git a/service/src/graph_module.c b/service/src/graph_module.c index 175020f6..2f1e73ed 100644 --- a/service/src/graph_module.c +++ b/service/src/graph_module.c @@ -2089,7 +2089,11 @@ int configure_spr_session_time_reset_info(struct module_info* spr_mod, if (ret != 0) { ret = ar_err_get_lnx_err_code(ret); AGM_LOGE("failed for PARAM_ID_SPR_SESSION_TIME_RESET_INFO: %d", ret); - return ret; + + /* To make backward compatibility with ADSP where latest SPR module */ + /* configuration is not supported and to avoid failing use case */ + /* error is not being propagated */ + return 0; } AGM_LOGD("configured");