This chapter applies only to a state agency that is required by federal law or regulation to use a merit system of personnel administration for the agency or for a program administered under the agency.