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

Improper handling of fork CLA checks #6

Closed
cliffchapmanrbx opened this issue Jun 12, 2020 · 0 comments · Fixed by #7 or #8
Closed

Improper handling of fork CLA checks #6

cliffchapmanrbx opened this issue Jun 12, 2020 · 0 comments · Fixed by #7 or #8
Labels
bug Something isn't working

Comments

@cliffchapmanrbx
Copy link
Contributor

Describe the bug

When opening a fork-based PR the secret value for the remote repo PAT is not supplied for security reasons. This causes an error as that input is marked as required and it is blank.

To Reproduce

Open a PR from a fork.

Suggested fix:

Add a unit test for this situation as it should be handled gracefully. The remote repo should be anonymous-readable so that the PAT is not mandatory for read operations.

On the other hand, if we attempt to write to a remote repo while we lack a remote repo PAT we should fail.

@cliffchapmanrbx cliffchapmanrbx added the bug Something isn't working label Jun 12, 2020
@cliffchapmanrbx cliffchapmanrbx linked a pull request Jun 12, 2020 that will close this issue
Gudahtt added a commit to Gudahtt/cla-signature-bot that referenced this issue Aug 25, 2020
The event `pull_request_target` is now used to trigger this workflow,
instead of `pull_request`. This ensures the workflow can run properly
on forks (related: Roblox#6).

You can read more about this new event here:
https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/
Gudahtt added a commit to Gudahtt/cla-signature-bot that referenced this issue Aug 25, 2020
The event `pull_request_target` is now used to trigger this workflow,
instead of `pull_request`. This ensures the workflow can run properly
on forks (related: Roblox#6).

You can read more about this new event here:
https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant