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
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ _This Github Action can come in handy when you have lot of projects like i do._
10
10
_where in some case certain projects users action workflow which are common across projects._
11
11
_Example : [Project 1][project1] & [Project 2][project2] it can be pain to keep all the workflow updated with Github Action's Module's version._
12
12
13
-
This also isn't limited to Github Action yaml files - another use case could be keeping the `.editorconfig`, `LICENSE`, `tsconfig.json`, `tslint.json`, `.gitignore`, `azure-pieplines.yml`, etc. in sync across all your repositories.
13
+
This also isn't limited to Github Action yaml files - another use case could be keeping the `.editorconfig`, `LICENSE`, `tsconfig.json`, `tslint.json`, `.gitignore`, etc. in sync across all your repositories.
14
14
15
15
>_Here where this action comes in and reduces your stress 😉 it can update all your repository actions file based on the config provided_
16
16
@@ -25,6 +25,7 @@ This also isn't limited to Github Action yaml files - another use case could be
25
25
|`WORKFLOW_FILES_DIR`|***workflows***| Local Path Where Common Workflow Files Are Located ***Eg : `workflows`***|
26
26
|`AUTO_CREATE_NEW_BRANCH`|***false***| Auto create new brach in a repository if the branch dose not exists |
27
27
|`COMMIT_EACH_FILE`|***false***| if you need to keep track of each file's commit history separate then set it to true |
28
+
|`PULL_REQUEST`|**false**| Set to `true` if you want the changes to be pushed via pull request. |
28
29
29
30
### Personal Access Token Scope
30
31
#### [Github Personal Token](https://github.com/settings/tokens/new?description=gh-workflow-sync) <small> Is required with the below scope </small>
@@ -63,6 +64,9 @@ REPOSITORIES: |
63
64
64
65
### `WORKFLOW_FILES` Configuration Examples
65
66
67
+
1. If you use `=` as a file seperator `file1.md=myfile.md` then `file1` from the current repository will be copied to remote repository with the name of `myfile.md`
68
+
1. If you use `!=` as a file seperator `file1.md!=myfile.md` then `file1` from the current repository will be copied to remote repository with the name of `myfile.md` only if `myfile.md` already not exists in the remote repository
69
+
66
70
<details><summary><strong>Files - Source & Destination File Without Custom Name</strong></summary>
0 commit comments