File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 7
7
- main
8
8
- master
9
9
pull_request :
10
- merge_group :
11
10
12
11
defaults :
13
12
run :
50
49
51
50
- name : Upload SARIF file
52
51
uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
52
+ # We can't use the SARIF file when triggered by `merge_group` so we don't upload it.
53
+ if : always() && github.event_name != 'merge_group'
53
54
with :
54
55
name : results.sarif
55
56
path : results.sarif
66
67
if : >
67
68
always() &&
68
69
!contains(fromJSON('["cancelled", "skipped"]'), needs.workflow_syntax.result) &&
69
- !github.event.repository.private
70
+ !github.event.repository.private &&
71
+ github.event_name != 'merge_group'
70
72
runs-on : ubuntu-latest
71
73
permissions :
72
74
contents : read
Original file line number Diff line number Diff line change @@ -7,13 +7,17 @@ plugins:
7
7
plugin_class_name : RuboCop::Performance::Plugin
8
8
- rubocop-rspec :
9
9
plugin_class_name : RuboCop::RSpec::Plugin
10
+ - rubocop-sorbet :
11
+ plugin_class_name : RuboCop::Sorbet::Plugin
10
12
AllCops :
13
+ ParserEngine : parser_prism
11
14
TargetRubyVersion : 3.3
12
15
NewCops : enable
13
16
Include :
14
17
- " **/*.rbi"
15
18
Exclude :
16
19
- Homebrew/sorbet/rbi/{dsl,gems}/**/*.rbi
20
+ - Homebrew/sorbet/rbi/parser*.rbi
17
21
- Homebrew/bin/*
18
22
- Homebrew/vendor/**/*
19
23
- Taps/*/*/vendor/**/*
You can’t perform that action at this time.
0 commit comments