GitHub App for workflow approval #151825
Replies: 2 comments
-
|
Hi @sndepp5, thanks for being a part of the GitHub Community! GitHub does not currently allow automatic approval of scheduled workflows that use environment secrets. It looks like some users have found a workaround to automate environment deployment approval. If that's not what you're looking for, perhaps you can find more answers in this discussion. |
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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Hello all,
I am trying to automate the workflow approvals for scheduled jobs that use GitHub environment secrets.
I have tested using the GitHub App, but it failed to approve.
ERROR - Failed to approve run 13414299838: 403 {"message":"This workflow run is not waiting for approval","documentation_url":"https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request","status":"403"}Is this achievable using the GitHub App?
FYI: I am not using any webhooks
Beta Was this translation helpful? Give feedback.
All reactions