Skip to content

Commit

Permalink
modify the ci trigger events and branch
Browse files Browse the repository at this point in the history
Signed-off-by: szc321 <[email protected]>
  • Loading branch information
szc321 committed Jun 6, 2023
1 parent 90df20c commit a1fe329
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codacy_coverage_reporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_run:
workflows: ["Run CI"]
types: [completed]
branches: [main]
branches: [messaging_refactor_release2nd]
workflow_dispatch:

jobs:
Expand All @@ -18,8 +18,8 @@ jobs:
with:
workflow: ci.yml
workflow_conclusion: "success"
branch: main
event: push
branch: messaging_refactor_release2nd
event: pull_request
name: coverage

- name: Run codacy-coverage-reporter
Expand Down
1 change: 1 addition & 0 deletions prebuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def __init__(self, sourcedir, targetdir):
self.build_args = []
if "CMAKE_BUILD_PARALLEL_LEVEL" not in os.environ:
self.parallel = multiprocessing.cpu_count()

def _check_poetry(self):
exec_code = self.env.get('_', "").rsplit('/')[-1]
if exec_code == 'poetry':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,8 @@ bool FastDDSSubscriber::Probe() {
MDataSeq mdata_seq;
SampleInfoSeq infos;
bool res = false;
if (ReturnCode_t::RETCODE_OK == reader_->read(mdata_seq, infos, 1)) { // Flawfinder: ignore
if (ReturnCode_t::RETCODE_OK ==
reader_->read(mdata_seq, infos, 1)) { // Flawfinder: ignore
reader_->return_loan(mdata_seq, infos);
res = true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def run(self):
tb = traceback.format_exc()
self._cconn.send((e, tb))

def join(self,time=None):
def join(self, time=None):
if not self._is_done:
super().join()
super().close()
Expand Down

0 comments on commit a1fe329

Please sign in to comment.