GitHub App for workflow approval #151825
Unanswered
sndepp5
asked this question in
API and Webhooks
Replies: 1 comment
-
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.
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 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