Ability to add custom metadata to pull requests #27939
Replies: 3 comments 6 replies
-
Now that I think about it, maybe I could output my metadata to a json file, then use https://github.com/actions/cache to store it in the repository cache to then fetch it later when running pull request checks? It's a shame there's no built in way, but I suppose that'd work?' Are there any better ways? |
Beta Was this translation helpful? Give feedback.
-
I recall seeing an action a while back that added hidden |
Beta Was this translation helpful? Give feedback.
-
Found this thread looking for a similar solution on issues. |
Beta Was this translation helpful? Give feedback.
-
Is there any way to add custom information to pull requests? I'm setting up a ✨ fancy ✨CI system using github actions in my gitops repository, however I was wondering if there was any way we could add custom metadata to a PR?
For example, some PRs may or may not be trying to modify a kubernetes template, specifying an image digest to use. If the PR is indeed modifying an image digest/tag, I want to run certain tests, using stuff like the image digest, etc.
Now that's easy enough when creating the pull requests, as I have access to information about the code changes, in my case, when I create them from another action.
However, based on my understanding, there is no way to save any of that information for later. I can only control the following things:
I've seen some hacky solutions, like using html comments to hide invisible metadata in PR bodies, however that feels like a really really janky solution, and not ideal
Is there any way around this? I feel this would be a great new feature, and would enable developers to make some pretty nifty intergrations without requiring a separate database to store this information
Beta Was this translation helpful? Give feedback.
All reactions