Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: GITHUB_TOKEN doesn't work when this action is in a shared WF #232

Open
actuarysailor opened this issue May 24, 2023 · 0 comments
Open

Comments

@actuarysailor
Copy link

If this action is in a workflow triggered by workflow_call:, it does not have access to secrets.GITHUB_TOKEN like it should... I believe this is because you are using it as an env variable rather than just a parameter to pass into your action.

A clear and concise description of what the bug is.

Make a repo with this action in a workflow_call:

Reference that action with uses in an action from a different repo (same org/account)

Witness error.

It should run as defined by GitHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant