I am a team lead, in a company that may be a little "disfunctional" in its organization. There is a separation between development team(at least some team members, but that has been increasing), and management - One does not trust in the other.
Last week, a couple of team members got to go in a tech conference, and they used the time there to take interviews and assignments for jobs. One of those team members was there and is a little close to me. He told me that, and I shared this piece of information with this new manager director. The reason I shared, is because from my perspective, I like to work there, and I don't intend to leave the job now. At the same time, I am responsible for sending this people to conferences and trainings, by knowing they want to leave, I don't want invest more on them, and I felt I should let the management know, and then we should keep an eye on them
As a result of that, this manager called out the team members that spend the time in the interviews and told them, there was this "rumor" that they were doing interviews.
As a final big result of the confusion, those team members, have the feeling that I cheated on them - I should not have exposed them. Due to this separation. I have feeling, that the whole team now does not trust in me anymore. For them the only person who could have told the management was me, because as a team leader, and old member, I told. Which is true.
I want to be totally honest here: I see changes happening in the company pretty fast, and there are some frustrated people, and frustrations in both side(management, development). I believe this will change even more. I myself, am ok with the company, and I am hiring people for my team, and want to continue.
However, by seeing people demotivated, and seeing that the company has been trying to improve things, If they want to leave, and if they are not happy, and spend their working time, doing interviews, and other stuff - I really want them to leave.
Question: Am I being ethical? How to be professional in this whole situation?