I am using the cleanthesis template which uses the KOMA–Script Package. I want the bibliography section to have the same chapter title format as the other chapters (with some minor differences which I won't discuss here). This is easily done using:
\chapter{Bibliography}
\label{Bibliography}
\printbibliography[heading=none]
I am also trying to add the bibliography to the TOC without a number. I have tried using \addchap{Bibliography} but this does not use the chapter title format.
In the Clean thesis style file the chapter title format is defined using:
\titleformat{\chapter}[display]%
{\usekomafont{chapter}}%
{\vspace{-8em}\raggedleft{%
{\color{ctcolorchapterline}%
\rule[-5pt]{2pt}{5cm}}\quad%
{\color{ctcolorchapternum}
\fontsize{60}{60}\selectfont\thechapter}%
}%
}%
{-2.1em}%
{\ctformatchapter}%
[\phantomsection]
I tried add the following just before calling \addchap{Bibliography}.
\titleformat{\addchap}[display]%
{\usekomafont{chapter}}%
{\vspace{-8em}\raggedleft{%
{\color{ctcolorchapterline}%
\rule[-5pt]{2pt}{5cm}}\quad%
{\color{ctcolorchapternum}
\fontsize{60}{60}\selectfont\thechapter}%
}%
}%
{-2.1em}%
{\ctformatchapter}%
[\phantomsection]
But this doesn't work and the title had no formatting.
EDIT 1
Is the problem here that the \titleformat command from here doesn't work with the koma script \addchap?
EDIT 2
The following is based on the Master branch from the clean thesis github page.
Using the clean thesis style a conventional chapter heading looks like this:
.
The bibliography section looks like this: 
I would like the bibliography section to have the same style as a conventional chapter. This can be achieved by placing the following right after the last \input{content/...:
\chapter{Bibliography}
\label{Bibliography}
\printbibliography[heading=none]
Which results in:
The only problem here is that the bibliography is now numbered in the TOC like this:

Is it possible to have the bibliography with a chapter style but not numbered in the TOC?



komais not compatible withtitlesec. As soon as you loadtitlesec, several koma features are lost. – Johannes_B May 30 '17 at 16:32cleanthesisis based on the idea ofclassicthesis, which is another template most experienced users don't recommend. Th next version of cleanthesis won't usetitlesecanymore (see the dev branch on github) whereasclassicthesiswill just drop using KOMA-script. – Johannes_B May 30 '17 at 16:38\addcontentsline{toc}{chapter}{Bibliography}. – Johannes_B May 30 '17 at 16:38\addcontentsline{toc}{chapter}{Bibliography}also implies using \chapter*{Bibliography} just before which, funnily enough, behaves the same as just using \addchap{Bibliography} (i.e. no chapter title styling but an unnumbered Bibliography in the TOC). – 1QuickQuestion May 30 '17 at 16:45