If concurrency groups are enabled for tasks, jobs are getting in Pending state.
Since the aws-actions/configure-aws-credentials is one of the first actions, the action would instantly tries to call the Github ID Token Endpoint.
Sometimes, the Github API raises an error like
Error: Error message: Failed to get ID Token.
Error Code : 403
Error Message: Can't issue ID_TOKEN for job in 'Pending' state.
which is not true.
It seems like a race condition on GitHub site. Retrying the request in 1 or 2 seconds would resolve this error until the error is fixed on GitHub site.
If concurrency groups are enabled for tasks, jobs are getting in Pending state.
Since the
aws-actions/configure-aws-credentialsis one of the first actions, the action would instantly tries to call the Github ID Token Endpoint.Sometimes, the Github API raises an error like
which is not true.
It seems like a race condition on GitHub site. Retrying the request in 1 or 2 seconds would resolve this error until the error is fixed on GitHub site.