File tree 2 files changed +9
-5
lines changed 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 14
14
changelog :
15
15
name : Changelog
16
16
runs-on :
17
- - X64
17
+ - Linux
18
+ - self-hosted
18
19
steps :
19
20
- if : runner.os == 'Windows'
20
21
name : Setup required bazel environment
Original file line number Diff line number Diff line change @@ -542,16 +542,19 @@ fn concurrency(group: impl AsRef<str>) -> Concurrency {
542
542
/// Generate a workflow that checks if the changelog has been updated (if needed).
543
543
pub fn changelog ( ) -> Result < Workflow > {
544
544
use PullRequestActivityType :: * ;
545
- let mut ret = Workflow :: new ( "Changelog" ) ;
546
- ret . on . pull_request ( PullRequest :: default ( ) . with_types ( [
545
+ let mut workflow = Workflow :: new ( "Changelog" ) ;
546
+ workflow . on . pull_request ( PullRequest :: default ( ) . with_types ( [
547
547
Labeled ,
548
548
Unlabeled ,
549
549
Synchronize ,
550
550
Opened ,
551
551
Reopened ,
552
552
] ) ) ;
553
- ret. add_job ( RunStepsBuilder :: new ( "changelog-check" ) . build_job ( "Changelog" , RunnerLabel :: X64 ) ) ;
554
- Ok ( ret)
553
+ let mut changelog_check =
554
+ RunStepsBuilder :: new ( "changelog-check" ) . build_job ( "Changelog" , RunnerLabel :: X64 ) ;
555
+ changelog_check. runs_on = vec ! [ RunnerLabel :: Linux , RunnerLabel :: SelfHosted ] ;
556
+ workflow. add_job ( changelog_check) ;
557
+ Ok ( workflow)
555
558
}
556
559
557
560
pub fn nightly ( ) -> Result < Workflow > {
You can’t perform that action at this time.
0 commit comments