Skip to content

Commit

Permalink
fix: ensure that github actions are not overwritten
Browse files Browse the repository at this point in the history
Users should be able to edit those files as please them.
If we do not skip then, they might can lose their customizations.

We should not allow overwritten in this one
  • Loading branch information
camilamacedo86 committed Nov 22, 2024
1 parent 4d82257 commit 87f2cb2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ func (f *LintCi) SetTemplateDefaults() error {

f.TemplateBody = lintCiTemplate

f.IfExistsAction = machinery.SkipFile

return nil
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ func (f *E2eTestCi) SetTemplateDefaults() error {

f.TemplateBody = e2eTestCiTemplate

f.IfExistsAction = machinery.SkipFile

return nil
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ func (f *TestCi) SetTemplateDefaults() error {

f.TemplateBody = testCiTemplate

f.IfExistsAction = machinery.SkipFile

return nil
}

Expand Down

0 comments on commit 87f2cb2

Please sign in to comment.