Add the roadmap auto commenter to this repository#12
Merged
Conversation
What: adds a workflow that calls the reusable roadmap auto commenter workflow when issues or pull requests are opened. Why: to activate the roadmap auto commenter for this repository. Note: see the reusable roadmap auto commenter commit/pull request in the .github repository for more information. #11
DougReeder
requested changes
May 5, 2026
Member
DougReeder
left a comment
There was a problem hiding this comment.
I had to add these permissions to get it to work.
The workflow ran as intended for Issues with and without the Label Roadmap: Test.
The workflow ran as intended for a PR without the Label Roadmap: Test.
The workflow didn't run at all for a PR with the Label Roadmap: Test, which is hard to understand.
Member
Author
Member
Author
Hmm, I wonder if you had different default permissions on your GITHUB_TOKEN than I did. That could be it. |
What: modifies the trigger of the workflow for pull requests from the `pull_request` event to the `pull_request_target` event and adds a warning comment about it. Why: using the `pull_request_target` event will bypass the normal workflow approval rules of the repository and allow the auto commenter to work for pull requests made from external contributors/their forks; it is also safer because it will only run the workflow file from the Hubs Foundation, not the external contributor's pull request (which is why GitHub allows it to run automatically for everyone).
16 tasks
Collaborator
|
Note: I'm not a suitable reviewer for the code for this PR, but it was explained to me at the May 6, 2026 Documentation Session and I approve of it (once we get it fully working). |
…enter What: adds explicit permissions to the `call_reusable_roadmap_auto_commenter` job. Why: so that the auto-commenter will still work if the repository only grants read permissions by default to the GitHub token. This is specified for the job instead of the whole workflow to comply with the principle of least privilege.
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.



What?
Adds a workflow that calls the reusable roadmap auto commenter workflow when issues or pull requests are opened.
Why?
To activate the roadmap auto commenter for this repository.
Examples
See: #11
How to test
See the testing instructions in the companion PR: #11
Documentation of functionality
Currently, this is fully automatic with no configuration options and it is for the Hubs Foundation's use only (so not appropriate to put in the Hubs Docs). This helps to apply the roadmap policy. In light of all this, I don't think any additional documentation is needed at present.
Limitations
None known.
Alternative implementations considered
None.
Open questions
None.
Additional details or related context
Reusable roadmap auto commenter companion PR: #11
Once this is approved, I will open up PRs on all the other repositories (likely with https://github.com/gruntwork-io/git-xargs).