fix: update fork warn workflow#34
Merged
sgibson91 merged 5 commits intothe-turing-way:mainfrom Apr 9, 2026
Merged
Conversation
Member
Author
|
@the-turing-way/infrastructure-working-group ready for review. We may have to bypass rules to allow this to be merged since I made the PR from a fork. |
- Use a more descriptive filename - Update if condition to check the name of the head repo in PRs
ensure this job can access GITHUB_TOKEN when running from a fork
…lated from other workflows
9a0866c to
2484c1f
Compare
JimMadge
approved these changes
Apr 3, 2026
Member
JimMadge
left a comment
There was a problem hiding this comment.
I don't see a warning in this PR. Is that because it didn't have access to the token?
Member
Author
|
It's because the workflow failed when I opened the PR because it didn't have access to the token. Also because the I limited when the workflow would run so I wouldn't have to write logic along the lines of "does a comment from this workflow already exist?" in order to limit the number of comments made. |
Member
Author
|
It worked! #38 (comment) |
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.
fork-warn workflow:
pull_request_targetevent type so workflow can accessGITHUB_TOKENto make the commentplan-apply workflow: