Skip to content

Commit d77b250

Browse files
committed
Reformatting
1 parent c028254 commit d77b250

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

models/actions/permissions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func JobPermissions(contents []byte) (Permissions, error) {
6363
return Permissions{}, errors.New("no jobs detected in workflow")
6464
}
6565

66-
func (p *Permission) UnmarshalYAML(unmarshal func(interface{}) error) error {
66+
func (p *Permission) UnmarshalYAML(unmarshal func(any) error) error {
6767
var data string
6868
if err := unmarshal(&data); err != nil {
6969
return err

modules/actions/permissions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func JobPermissions(contents []byte) (Permissions, error) {
6363
return Permissions{}, errors.New("no jobs detected in workflow")
6464
}
6565

66-
func (p *Permission) UnmarshalYAML(unmarshal func(interface{}) error) error {
66+
func (p *Permission) UnmarshalYAML(unmarshal func(any) error) error {
6767
var data string
6868
if err := unmarshal(&data); err != nil {
6969
return err

0 commit comments

Comments
 (0)