Git push works but actions have error 403

I have a project in a private repository.
I have made new updates and pushed the code into the repository, that works, no problem.
But after each update an action is triggered to update my production server, I see that the actions run but I get the following:

Your Hardware Enablement Stack (HWE) is supported until April 2025.

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.

fatal: unable to access 'https://github.com/myrepository': The requested URL returned error: 403

Stopping.......

I have read previous posts regarding password, and I regenerated and use a token instead of a password.
What else can I do?

Can you share that action? Something in there appears to use the deprecated password authentication method.