Skip to content

Commit 818a314

Browse files
authored
fix(sync-files): specify sd version (#395)
* fix sd version Signed-off-by: Taeseung Sohn <taeseung.sohn@tier4.jp> * remove templating for setup-sd Signed-off-by: Taeseung Sohn <taeseung.sohn@tier4.jp> * strip leading v Signed-off-by: Taeseung Sohn <taeseung.sohn@tier4.jp> * add cspell Signed-off-by: Taeseung Sohn <taeseung.sohn@tier4.jp> --------- Signed-off-by: Taeseung Sohn <taeseung.sohn@tier4.jp>
1 parent 0807eaa commit 818a314

File tree

3 files changed

+22
-12
lines changed

3 files changed

+22
-12
lines changed

.cspell.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"words": ["chmln"]
3+
}

sync-files/README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -111,18 +111,19 @@ Example:
111111

112112
## Inputs
113113

114-
| Name | Required | Description |
115-
| ----------------- | -------- | ----------------------------------------------------- |
116-
| token | true | The token for pull requests. |
117-
| config | false | The path to `sync-files.yaml`. |
118-
| pr-base | false | The base branch where the files are synced. |
119-
| pr-branch | false | Refer to `peter-evans/create-pull-request`. |
120-
| pr-title | false | The same as above. |
121-
| pr-commit-message | false | The same as above. |
122-
| pr-labels | false | The same as above. |
123-
| pr-assignees | false | The same as above. |
124-
| pr-reviewers | false | The same as above. |
125-
| auto-merge-method | false | Refer to `peter-evans/enable-pull-request-automerge`. |
114+
| Name | Required | Description |
115+
| ----------------- | -------- | -------------------------------------------------------------------------- |
116+
| token | true | The token for pull requests. |
117+
| config | false | The path to `sync-files.yaml`. |
118+
| sd-version | false | The `chmln/sd` version to use, without leading `'v'`. Defaults to `1.0.0`. |
119+
| pr-base | false | The base branch where the files are synced. |
120+
| pr-branch | false | Refer to `peter-evans/create-pull-request`. |
121+
| pr-title | false | The same as above. |
122+
| pr-commit-message | false | The same as above. |
123+
| pr-labels | false | The same as above. |
124+
| pr-assignees | false | The same as above. |
125+
| pr-reviewers | false | The same as above. |
126+
| auto-merge-method | false | Refer to `peter-evans/enable-pull-request-automerge`. |
126127

127128
## Outputs
128129

sync-files/action.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ inputs:
99
description: ""
1010
required: false
1111
default: .github/sync-files.yaml
12+
sd-version:
13+
description: The version of chmln/sd (without leading 'v'). Only 1.0.0 and higher are supported.
14+
required: false
15+
default: 1.0.0
1216
pr-base:
1317
description: ""
1418
required: false
@@ -67,6 +71,8 @@ runs:
6771

6872
- name: Set up sd
6973
uses: kenji-miyake/setup-sd@v2
74+
with:
75+
version: ${{ inputs.sd-version }}
7076

7177
- name: Parse config
7278
run: |

0 commit comments

Comments
 (0)