File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -126,24 +126,23 @@ func TestDetectMatched(t *testing.T) {
126
126
expected : true ,
127
127
},
128
128
{
129
- desc : "push to tag matches workflow with paths condition (should skip paths check)" ,
130
- triggedEvent : webhook_module .HookEventPush ,
131
- payload : & api.PushPayload {
129
+ desc : "push to tag matches workflow with paths condition (should skip paths check)" ,
130
+ triggedEvent : webhook_module .HookEventPush ,
131
+ payload : & api.PushPayload {
132
132
Ref : "refs/tags/v1.0.0" ,
133
133
Before : "0000000" ,
134
134
Commits : []* api.PayloadCommit {
135
135
{
136
136
ID : "abcdef123456" ,
137
- Added : []string {"src/main.go" },
138
- Message : "Release v1.0.0" ,
139
- },
140
- },
141
- },
142
- commit : nil ,
143
- yamlOn : "on:\n push:\n paths:\n - src/**" ,
144
- expected : true ,
145
- },
146
-
137
+ Added : []string {"src/main.go" },
138
+ Message : "Release v1.0.0" ,
139
+ },
140
+ },
141
+ },
142
+ commit : nil ,
143
+ yamlOn : "on:\n push:\n paths:\n - src/**" ,
144
+ expected : true ,
145
+ },
147
146
}
148
147
149
148
for _ , tc := range testCases {
You can’t perform that action at this time.
0 commit comments