Replies: 3 comments 2 replies
-
Have you tried using |
Beta Was this translation helpful? Give feedback.
1 reply
This comment was marked as off-topic.
This comment was marked as off-topic.
-
followup: I got it working but only with an own PAT. GITHUB_TOKEN is not sufficient not even with
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Hello :)
I'm encountering an issue in my workflow/action when trying to retrieve the value of an environment variable. The gh api request works perfectly on my local machine, but when executed within the workflow, I receive the following error:
gh: Resource not accessible by integration (HTTP 403)
My Workflow Step:
Troubleshooting Attempts:
I tried modifying the step to the following, which works but does not achieve my intended goal:
It appears that the GH_TOKEN does not have access to the required resources. I have already tried setting the permissions to write-all and configured all the necessary settings in the repository.
edit: / added informations: I know that I can use environment: my_environment but I want to get the variable from an other environment without triggering an "deployment"
Beta Was this translation helpful? Give feedback.
All reactions