File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88jobs :
99 ci :
10+ # Do not run if this is a pull-request from same repo i.e. not a fork repo
11+ if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
1012 uses : silverstripe/gha-ci/.github/workflows/ci.yml@v1
Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ private function publishLinks(): void
317317 if ($ shouldPublishLinks ) {
318318 $ this ->print ('Publishing links. ' );
319319 /** @var Versioned&Link $link */
320- foreach (Link::get ()->chunkedFetch () as $ link ) {
320+ foreach (Link::get ()->sort ( ' ID ' )-> chunkedFetch () as $ link ) {
321321 // Allow developers to skip publishing each link - this allows for scenarios
322322 // where links were Versioned in v2/v3 projects.
323323 $ shouldPublishLink = true ;
You can’t perform that action at this time.
0 commit comments