Applying to an internal job
Appreciate that you are always on the job market, regardless you have a job. Being an „internal” candidate for a job have only few advantages for you, if any. Consider your boss’ counter-interest if you are doing great in your current position. Understand the moderate effect of merit on promotions. Feel lucky in case someone else is promoted for s/he collects adversaries. Invest into your professional network for future opportunities.