Skip to content

Commit

Permalink
fix: use .github/workflows as default directory (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
aweris authored Sep 20, 2023
1 parent 40edf20 commit 1699e13
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/gctx/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ func (c *Context) LoadRepo(repo string, opts ...LoadRepoOpts) error {
opt = opts[0]
}

// set default workflows dir if not provided
if opt.WorkflowsDir == "" {
opt.WorkflowsDir = ".github/workflows"
}

// load repository source
rc.Source = getRepository(repo, rc.Info, opt)

Expand Down

0 comments on commit 1699e13

Please sign in to comment.