Skip to content

Commit

Permalink
FIX: ignore excludes if includes are specified
Browse files Browse the repository at this point in the history
  • Loading branch information
fileformat committed May 4, 2024
1 parent 2aeba37 commit 12329c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
- [ ] better README
- [ ] action.yaml
- [ ] output file extension based on format
- [ ] custom external links (and link definitions from a yaml file)
- [ ] json output (separate flag/file)
- [ ] progress indicators (if output!=stdout && stdout == tty)
- [ ] args: title, header, footer
- [ ] new arg: template, (and @filename)
Expand Down
3 changes: 1 addition & 2 deletions workflows.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ func GetWorkflowsForRepo(client *github.Client, repo *github.Repository) ([]*git
if !ok {
continue
}
}
if len(ExcludeSet) > 0 {
} else if len(ExcludeSet) > 0 {
_, ok := ExcludeSet[strings.ToLower(*workflow.Name)]
if ok {
continue
Expand Down

0 comments on commit 12329c9

Please sign in to comment.