ci: enhance guix-build workflow to run on label and tags by default#6951
Conversation
✅ No Merge Conflicts DetectedThis PR currently has no conflicts with other open PRs. |
WalkthroughThe workflow file .github/workflows/guix-build.yml was updated to trigger on PR label events by adding Sequence Diagram(s)sequenceDiagram
autonumber
participant GitHub as GitHub event
participant Workflow as guix-build.yml
participant Runner as Actions runner
participant Checkout as actions/checkout
Note over GitHub,Workflow `#f0f4ff`: Events: push (tags) OR env RUN_GUIX_ON_ALL_PUSH == true OR pull_request_target (labeled)
GitHub->>Workflow: emit event
alt Tag push OR RUN_GUIX_ON_ALL_PUSH == true
Workflow->>Runner: start build-image job
Runner->>Checkout: checkout ref github.sha
Runner->>Workflow: run build-image steps
Workflow->>Runner: start build job
Runner->>Checkout: checkout ref github.sha
Runner->>Workflow: run build steps
else pull_request_target with label "guix-build"
Workflow->>Runner: start build-image job
Runner->>Checkout: checkout ref github.event.pull_request.head.sha || github.sha
Runner->>Workflow: run build-image steps
Workflow->>Runner: start build job
Runner->>Checkout: checkout ref github.event.pull_request.head.sha || github.sha
Runner->>Workflow: run build steps
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (1){guix-build*,releases,**/guix-build*,releases/**,.github/**,depends/**,ci/**,contrib/**,doc/**}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧠 Learnings (8)📓 Common learnings📚 Learning: 2025-11-24T16:41:22.457ZApplied to files:
📚 Learning: 2025-02-06T14:34:30.466ZApplied to files:
📚 Learning: 2025-10-05T20:38:28.457ZApplied to files:
📚 Learning: 2025-11-24T16:41:22.457ZApplied to files:
📚 Learning: 2025-02-19T00:03:39.002ZApplied to files:
📚 Learning: 2025-02-19T00:03:39.001ZApplied to files:
📚 Learning: 2025-02-13T07:36:17.572ZApplied to files:
🔇 Additional comments (4)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
5af098e to
6698829
Compare
Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
01336d8 ci: don't use pull_request in guix-build.yml (UdjinM6) Pull request description: ## Issue being fixed or feature implemented `pull_request` doesn't have enough permissions. Only works for a branch in the same repo e.g. https://github.com/UdjinM6/dash/actions/runs/19731863320. #6951 follow-up ## What was done? ## How Has This Been Tested? For a branch from a forked repo UdjinM6#24: develop: https://github.com/UdjinM6/dash/actions/runs/19732188359?pr=24 this PR (develop in my repo updated with this patch): https://github.com/UdjinM6/dash/actions/runs/19732354343?pr=24 ## Breaking Changes n/a ## Checklist: - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [ ] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ ACKs for top commit: PastaPastaPasta: utACK 01336d8 Tree-SHA512: 7cb5001f362f63ba8c8882037d84ae94fb6003dbcd339cb2f5ee93fdc7d4c9a0d2c0042e46c656fa7015f7defed734a7dfcad607c5c5a30c252080ad9b89d0ca
Issue being fixed or feature implemented
See commits; not explicitly tested, but workflow is currently disabled.
What was done?
How Has This Been Tested?
Breaking Changes
None
Checklist:
Go over all the following points, and put an
xin all the boxes that apply.