Replies: 4 comments 2 replies
-
Have you tried using |
Beta Was this translation helpful? Give feedback.
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.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
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