Repository navigation
Fix release automation and packaging gating for oc-rsync - #2128
Conversation
| exit 1 | ||
| - name: Capture release tag | ||
| id: release | ||
| run: echo "tag=${{ github.event.workflow_run.head_branch }}" >> "$GITHUB_OUTPUT" |
Check failure
Code scanning / CodeQL
Code injection
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if: | | ||
| github.event.workflow_run.conclusion == 'success' && | ||
| github.event.workflow_run.event == 'push' && | ||
| startsWith(github.event.workflow_run.head_branch, 'v') |
There was a problem hiding this comment.
Release gating uses missing head_branch
The job-level condition now requires startsWith(github.event.workflow_run.head_branch, 'v'), but for workflow_run events that come from tag pushes (the only case that triggers Build-cross in the first place) GitHub does not populate head_branch—it is null/empty because there is no branch associated with a tag. That makes this if expression permanently false, so the upload job never runs and no release is ever published. Even if the condition were to pass, Capture release tag would still emit an empty tag name, so action-gh-release would fail to find a tag to publish. Net effect: every tagged build loses its release artifacts until this condition is removed or replaced with a field that actually contains the tag name (e.g., github.event.workflow_run.head_sha + API lookup or github.event.workflow_run.head_repository.full_name).
Useful? React with 👍 / 👎.
…3916) Concise audit of upstream rsync 3.4.1 dir-merge inheritance semantics against oc-rsync's FilterChain and engine implementations. Notes the no-inherit enforcement gap, deep-nesting coverage gap, modifier parity, case sensitivity, exclude-self ordering, and a deep-tree test plan that diffs upstream vs oc-rsync transferred sets.
…3916) Concise audit of upstream rsync 3.4.1 dir-merge inheritance semantics against oc-rsync's FilterChain and engine implementations. Notes the no-inherit enforcement gap, deep-nesting coverage gap, modifier parity, case sensitivity, exclude-self ordering, and a deep-tree test plan that diffs upstream vs oc-rsync transferred sets.
…3916) Concise audit of upstream rsync 3.4.1 dir-merge inheritance semantics against oc-rsync's FilterChain and engine implementations. Notes the no-inherit enforcement gap, deep-nesting coverage gap, modifier parity, case sensitivity, exclude-self ordering, and a deep-tree test plan that diffs upstream vs oc-rsync transferred sets.
Summary
Testing
[Codex Task](