Open
Conversation
Deployment results
Logs #21283272539 |
sidvishnoi
reviewed
Jan 26, 2026
Comment on lines
37
to
+38
| with: | ||
| # Ensures we checkout the PR head commit for both pull_request and pull_request_review events | ||
| ref: ${{ github.event.pull_request.head.sha || github.sha }} | ||
| # Fetches the full git history, both base and head SHAs are available | ||
| fetch-depth: 0 | ||
| fetch-depth: 1 |
sidvishnoi
reviewed
Jan 26, 2026
| username: event.comment.user.login | ||
| }); | ||
|
|
||
| const isAuthorized = ['admin', 'maintain', 'write'].includes(permission.permission); |
Member
There was a problem hiding this comment.
Can we use isAllowedAuthor somehow? Maybe with a different API call?
Member
There was a problem hiding this comment.
If we fetch the comment by ID, can get author_association
https://api.github.com/repos/interledger/publisher-tools/issues/comments/3799339719
Member
|
ok-to-deploy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Follow-up #373
Solves the issue where fork PRs could not deploy previews via comment due to missing repo access.
Note to reviewer: workflow needs to exist on default branch (main) to run