Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix permissions for commenting on pull requests from forks #48

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mustafacco7
Copy link

@mustafacco7 mustafacco7 commented Oct 24, 2024

Fixes #15

Add workaround for commenting on pull requests from forks

  • README.md
    • Add a note about using pull_request_target as a workaround for forks, with a security warning.
  • .github/workflows/ci.yml
    • Add contents: write permission for pull_request_target.
    • Remove unnecessary comments and steps related to checking out the source code and setting up Go.

For more details, open the Copilot Workspace session.

Fixes fgrosse#15

Add workaround for commenting on pull requests from forks

* **README.md**
  - Add a note about using `pull_request_target` as a workaround for forks, with a security warning.
* **.github/workflows/ci.yml**
  - Add `contents: write` permission for `pull_request_target`.
  - Remove unnecessary comments and steps related to checking out the source code and setting up Go.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/fgrosse/go-coverage-report/issues/15?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No permission to create comment
1 participant