Lots of changes have to be made to your github action workflow to actually make this work properly.
What things have you needed to change? Can't say I've ever needed to do that but of course I've only used it on a few projects.
In GitHub we use an OIDC token to access some AWS resources. Locally I need to populate tokens etc and so I have an `if: ${{ACT}}` and a not condition to populate it.