Open
Conversation
Extracts the conflict-check workflow (detects unresolved merge conflict markers in PRs targeting release branches) as a reusable workflow_call. Source: identical workflow in loft-enterprise and vcluster. Changes from source: - SHA-pinned actions/checkout - Added persist-credentials: false on checkout - Parameterized GH_ACCESS_TOKEN as a workflow_call secret - Branch filters moved to callers (enterprise: release-** + v**, vcluster: v** only)
14f8c80 to
840378e
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.
Summary
workflow_callworkflowloft-enterpriseandvcluster(detects unresolved merge conflict markers in PRs targeting release branches)actions/checkout@v6.0.2persist-credentials: falseon checkoutGH_ACCESS_TOKENas aworkflow_callsecret (gh-access-token)release-**+v**, vcluster:v**only)github.event.pull_request.numberinstead ofgithub.event_nameto support bothpull_requestandpull_request_targetcallersconcurrencygroup withcancel-in-progress: truetimeout-minutes: 5on the jobCaller example
Test plan
conflict-check/v1after mergePart of the Phase 3 GitHub Actions centralization effort.