This PR comes with a refactoring out the gh secret and context management, including several bugfixes.
The context object github.token is removed as it doesn't exist, and instead the proper objects github.token and secrets.GITHUB_TOKEN are introduced, both of which are functionally equivalent. They are both added to the unit tests as well.
This PR comes with a refactoring out the gh secret and context management, including several bugfixes.
The context object
github.token
is removed as it doesn't exist, and instead the proper objectsgithub.token
andsecrets.GITHUB_TOKEN
are introduced, both of which are functionally equivalent. They are both added to the unit tests as well.