allow pr write permission for pr review

This commit is contained in:
burnettk 2024-02-06 10:05:26 -05:00
parent 3e09ef43a3
commit d542804d9c
No known key found for this signature in database
2 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,9 @@ on:
# types: [labeled]
permissions:
# for gh pr review
pull-requests: write
# for gh pr merge
contents: write
jobs:

View File

@ -213,6 +213,8 @@ def process_data_file_download(
# {"ref": "refs/heads/main", "repository": {"name": "sample-process-models",
# "full_name": "sartography/sample-process-models", "private": False .... }}
# test with: ngrok http 7000
# or with:
# npm install -g localtunnel && lt --port 7000 --subdomain oh-so-hot
# where 7000 is the port the app is running on locally
def github_webhook_receive(body: dict) -> Response:
auth_header = request.headers.get("X-Hub-Signature-256")