Skip to content

Commit

Permalink
Merge pull request #126 from shimataro/develop
Browse files Browse the repository at this point in the history
version 2.0.1
  • Loading branch information
shimataro authored Mar 14, 2020
2 parents 5bd2f03 + ef5287d commit 262770b
Show file tree
Hide file tree
Showing 12 changed files with 726 additions and 896 deletions.
40 changes: 25 additions & 15 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ extends:
- plugin:@typescript-eslint/eslint-recommended
- plugin:@typescript-eslint/recommended
plugins:
- import
- "@typescript-eslint"
parser: "@typescript-eslint/parser"
parserOptions:
Expand Down Expand Up @@ -60,7 +59,7 @@ rules: # https://eslint.org/docs/rules/
- property
dot-notation:
- error
- allowKeywords: true
- allowPattern: "^_"
eol-last: error
eqeqeq: error
for-direction: error
Expand All @@ -72,14 +71,16 @@ rules: # https://eslint.org/docs/rules/
func-style:
- error
- declaration
function-paren-newline: error
function-paren-newline:
- error
- multiline-arguments
generator-star-spacing: error
getter-return: error
global-require: error
guard-for-in: error
handle-callback-err: error
id-blacklist: error
id-length: 'off'
id-length: error
id-match: error
implicit-arrow-linebreak:
- error
Expand All @@ -94,13 +95,15 @@ rules: # https://eslint.org/docs/rules/
keyword-spacing:
- error
- overrides:
if:
catch:
after: false
for:
after: false
while:
if:
after: false
catch:
switch:
after: false
while:
after: false
with:
after: false
Expand All @@ -113,6 +116,7 @@ rules: # https://eslint.org/docs/rules/
lines-between-class-members:
- error
- always
- exceptAfterSingleLine: true
max-depth: error
max-len: 'off'
max-lines: 'off'
Expand Down Expand Up @@ -147,6 +151,7 @@ rules: # https://eslint.org/docs/rules/
no-extra-bind: error
no-extra-label: error
no-extra-parens: error
no-extra-semi: error
no-floating-decimal: error
no-implicit-coercion: error
no-implicit-globals: error
Expand Down Expand Up @@ -256,7 +261,10 @@ rules: # https://eslint.org/docs/rules/
semi-style:
- error
- last
sort-imports: 'off'
sort-imports:
- error
- ignoreCase: false
ignoreDeclarationSort: true
sort-keys: 'off'
sort-vars: error
space-before-blocks: error
Expand All @@ -281,8 +289,14 @@ rules: # https://eslint.org/docs/rules/
- never
valid-jsdoc:
- error
- requireParamType: false
- prefer:
arg: param
argument: param
return: returns
yield: yields
exception: throws
requireReturn: false
requireParamType: false
requireReturnType: false
vars-on-top: error
wrap-iife: error
Expand All @@ -292,13 +306,9 @@ rules: # https://eslint.org/docs/rules/
- error
- never

# import plugin
import/extensions: 'off'
import/no-unresolved:
- error

# @typescript-eslint plugin
"@typescript-eslint/explicit-function-return-type": 'off'
"@typescript-eslint/ban-ts-ignore": 'off'
"@typescript-eslint/no-empty-interface": 'off'
"@typescript-eslint/no-use-before-define":
- error
- functions: false
Expand Down
10 changes: 6 additions & 4 deletions .markdownlint.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
MD007:
MD007: # ul-indent
indent: 4
MD013:
MD013: # line-length
line_length: 255
MD024:
MD024: # no-duplicate-heading
siblings_only: true
MD026: false
MD026: false # no-trailing-punctuation
MD029: # ol-prefix
style: one
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [2.0.1] - 2020-03-14

### Security

* update [acorn](https://www.npmjs.com/package/acorn) to 7.1.1 ([CVE-2020-7598](https://github.com/advisories/GHSA-7fhm-mqm4-2wp7))

## [2.0.0] - 2020-02-08

### Changed
Expand Down Expand Up @@ -91,7 +97,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

* First release.

[Unreleased]: https://github.com/shimataro/ssh-key-action/compare/v2.0.0...HEAD
[Unreleased]: https://github.com/shimataro/ssh-key-action/compare/v2.0.1...HEAD
[2.0.1]: https://github.com/shimataro/ssh-key-action/compare/v2.0.0...v2.0.1
[2.0.0]: https://github.com/shimataro/ssh-key-action/compare/v1.6.5...v2.0.0
[1.6.5]: https://github.com/shimataro/ssh-key-action/compare/v1.6.4...v1.6.5
[1.6.4]: https://github.com/shimataro/ssh-key-action/compare/v1.6.3...v1.6.4
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ Here are some solutions:
### Which one is the best way for transferring files, "direct SCP/SFTP/rsync" or "SCP/SFTP/rsync via bastion"?

I recommend **rsync via bastion**.

```bash
rsync -e "ssh bastion ssh" ./foo/ target:bar/
```

It has some advantages over other methods:

* "Rsync via bastion" doesn't require to update workflow files and `secrets` even if it is necessary to transfer files to multiple servers.
Expand Down
6 changes: 6 additions & 0 deletions node_modules/@actions/core/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions node_modules/@actions/core/lib/core.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions node_modules/@actions/core/lib/core.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/@actions/core/lib/core.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions node_modules/@actions/core/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 262770b

Please sign in to comment.