I have a project where most of the development happens on Github, but we need to run on some secure machines for testing which requires us to use Gitlab-ci and submit jobs to particulars CI Runners. We do this by running a github action that mirrors the repo over to gitlab. However in order for the GitHub action to mirror it must have an access token that gives permission to push to the gitlab. However, every time I make an access token (I have tried project and personal access tokens) the mirroring works for awhile, but than fails the following day because the access token on the gitlab side no longer exists. I have set expiration date for the tokens to be 6 months from now, and the bug has occurred 4 times now.
Any ideas on why an access token would disapppear?