feat(workflows): add github env debug#474
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a reusable GitHub Actions workflow that dumps the full github context for debugging across forks and internal branches.
- Adds a callable workflow (
workflow_call) for dumping the GitHub context. - Triggers on pull request events targeting the default branch.
- Outputs the serialized
githubcontext to the build log.
Comments suppressed due to low confidence (3)
.github/workflows/__call-github-env.yml:12
- The workflow is configured to trigger on the
masterbranch; if your repository’s default branch ismain, consider updating this to match or using${{ github.ref }}dynamically.
- master
.github/workflows/__call-github-env.yml:24
- [nitpick] For consistency and readability, capitalize 'GitHub' in the step name (e.g.,
Dump GitHub context).
- name: Dump github context
.github/workflows/__call-github-env.yml:1
- [nitpick] Consider adding usage instructions or linking to a central README so consumers know how to include this callable workflow in their own pipelines.
---
dc00b9e to
8e90686
Compare
|
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.



Description
This PR adds a callable workflow that can be easily included in our repo workflows without copy/pasting the same logic all the time.
Screenshot
Issues Fixed or Closed
Type of Change
.github/...)Checklist