I had to do something similar for the key obfuscation in another workflow (creating issue in another repo triggered by PR on forks).
I have replicated your idea, but created a dedicated action for this: https://github.com/opengisch/clear-token
I am thinking to chaining this action with the original backport action.
I had to do something similar for the key obfuscation in another workflow (creating issue in another repo triggered by PR on forks). I have replicated your idea, but created a dedicated action for this: https://github.com/opengisch/clear-token I am thinking to chaining this action with the original backport action.