Skip to content

Commit 563e0db

Browse files
authored
Add CLA workflow (#6)
Required for: insightsengineering/idr-tasks#355 --------- Signed-off-by: walkowif <59475134+walkowif@users.noreply.github.com>
1 parent f841548 commit 563e0db

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

.github/workflows/cla.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: CLA 🔏
2+
3+
on:
4+
issue_comment:
5+
types:
6+
- created
7+
# For PRs that originate from forks
8+
pull_request_target:
9+
types:
10+
- opened
11+
- closed
12+
- synchronize
13+
14+
jobs:
15+
CLA:
16+
name: CLA 📝
17+
uses: insightsengineering/.github/.github/workflows/cla.yaml@main
18+
secrets: inherit

cmd/root.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ func newRootCommand() {
8686
Use: "git-synchronizer",
8787
Short: "A tool to synchronize git repositories.",
8888
Long: `A tool to synchronize git repositories from one git server to another.`,
89-
PersistentPreRun: func(cmd *cobra.Command, args []string) {
89+
PersistentPreRun: func(_ *cobra.Command, _ []string) {
9090
initializeConfig()
9191
},
92-
Run: func(cmd *cobra.Command, args []string) {
92+
Run: func(_ *cobra.Command, _ []string) {
9393
setLogLevel()
9494

9595
fmt.Println(`config = "` + cfgFile + `"`)

0 commit comments

Comments
 (0)