Given a Lagrange density
$$\mathcal{L} = g^{ij} \phi_{,i} \phi_{,j} - V(\phi)\tag{1}$$
I have read (e.g. here) that the boundary term that occurs through variation of the action
$$ \delta I = \int_V dV \, \text{EL} \, \delta \phi + \oint_{\partial V} dS \, n^i \, \partial_i \phi \, \delta \phi\tag{2}$$
vanishes for Dirichlet conditions ($\delta \phi = 0$), for homogeneous Neumann conditions ($\mathbf{n}(\phi) = 0$) AND for their combinations, i.e. Robin conditions ($ a \phi + b \mathbf{n}(\phi) = c$).
It is easy to see how Dirichlet conditions and homogeneous Neumann conditions make the boundary integral vanish. However, I do not understand how Robin conditions achieve the same thing.