Repository navigation
Conversation
…reasonable way to reference the workflow across branches
Exanite
commented
Nov 14, 2026
| path: coverage/**/*.cobertura.xml | ||
| if-no-files-found: error | ||
|
|
||
| report-coverage: |
Member
Author
There was a problem hiding this comment.
Moved to main branch as a workflow_run triggered workflow.
| @@ -0,0 +1,29 @@ | |||
| # This is intended for use alongside pr-get-number.reusable.yml (see main branch) | |||
| name: Post PR number | |||
Member
Author
There was a problem hiding this comment.
Apparently there's no way to specify the branch/ref to use when referencing using the $/.github/workflows/pr-post-number.reusable.yml syntax.
For example, $/.github/workflows/pr-post-number.reusable.yml@main gives the error:
A '$/' self repository reference cannot specify an '@ref'.
I also don't want to hard code the repo since that makes it harder for contributors to edit the workflow.
Using ${{ github.repository }} in the reference also doesn't work.
This branch has not been deployed
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.
Summary of the PR
This PR makes it so that test reports and coverage comments work for forks. Because this shares a similar pattern with the bindings/native workflows, I also added reusable workflows for posting/getting the required PR number.
Related issues, Discord discussions, or proposals
N/A
Further Comments
These changes were tested here: Exanite-Dev#6