Skip to content

mshick/add-pr-comment-proxy

Repository files navigation

add-pr-comment-proxy

A simple proxy for PR comments. Works well with add-pr-comment. Workaround for GitHub making all token permissions read-only when a fork is submitted for a PR. See this discussion for more detail.

Deploy

Requirements

  • A personal access token with the repo:public_repos scope if you're using this to support a public repo. Your use-case might require other scopes.

Run on Cloud Run

Run on Google Cloud

How it works

This app is a thin Node.js proxy around the create an issue comment GitHub endpoint that allows you to send requests with a GitHub Action's temporary token and create issue comments. It verifies that your request has a valid temporary token, but it's difficult to ensure any more than that. A shared secret cannot be used as GitHub will strip it when the fork's Actions run.

About

A simple bot to proxy PR comments.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy