Skip to content

Commit

Permalink
Merge pull request #181 from jhrozek/ignore_only_main_and_master
Browse files Browse the repository at this point in the history
Only ignore main and master, not all branches when pinning actions
  • Loading branch information
jhrozek authored Jul 17, 2024
2 parents a9f45f3 + 2ae4ea7 commit 7e1fd27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/utils/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func DefaultConfig() *Config {
return &Config{
GHActions: GHActions{
Filter: Filter{
ExcludeBranches: []string{"*"},
ExcludeBranches: []string{"main", "master"},
},
},
Images: Images{
Expand Down
2 changes: 1 addition & 1 deletion pkg/utils/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ images:
GHActions: GHActions{
Filter: Filter{
Exclude: []string{"pattern1", "pattern2"},
ExcludeBranches: []string{"*"},
ExcludeBranches: []string{"main", "master"},
},
},
Images: Images{
Expand Down

0 comments on commit 7e1fd27

Please sign in to comment.