mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
pin to v1.0.0 of github action parser
This commit is contained in:
parent
9c3a288946
commit
eb25b2a615
116 changed files with 9431 additions and 3576 deletions
6
vendor/github.com/actions/workflow-parser/parser/opts.go
generated
vendored
6
vendor/github.com/actions/workflow-parser/parser/opts.go
generated
vendored
|
@ -1,15 +1,15 @@
|
|||
package parser
|
||||
|
||||
type OptionFunc func(*parseState)
|
||||
type OptionFunc func(*Parser)
|
||||
|
||||
func WithSuppressWarnings() OptionFunc {
|
||||
return func(ps *parseState) {
|
||||
return func(ps *Parser) {
|
||||
ps.suppressSeverity = WARNING
|
||||
}
|
||||
}
|
||||
|
||||
func WithSuppressErrors() OptionFunc {
|
||||
return func(ps *parseState) {
|
||||
return func(ps *Parser) {
|
||||
ps.suppressSeverity = ERROR
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue