You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auto_merge: true # note: branch = main with auto_merge = false will cause an error
39
+
auto_merge: true # you MUST use auto_merge: true with branch: main
37
40
38
41
```
39
42
@@ -42,11 +45,12 @@ jobs:
42
45
| Input | Description | Required | Default |
43
46
|-------|-------------|----------|---------|
44
47
|`repository`| Target repository in format `org/repo`| Yes | - |
45
-
|`files`| Array of mappings with source and destination paths| Yes | - |
48
+
|`sources`| Array of mappings with from, to, and (optional) exclude fields| Yes | - |
46
49
|`token`| GitHub token for authentication | No |`${{ github.token }}`|
47
50
|`branch`| Branch to push to in the target repository | Yes | - |
48
51
|`auto_merge`| Will push directly to the specified branch when `true`, will create a PR from the specified base branch onto main if `false`. | No |`false`|
49
52
53
+
**Note: you must set `auto_merge: true` when using `branch: main`**
0 commit comments