Skip to content

Commit

Permalink
#154 Update super-linter to latest version (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
GRiMe2D authored Feb 10, 2022
1 parent 1b1c0f4 commit 143b012
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 19 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
- uses: actions/checkout@v2
- run: rm -rf dist
name: remove dist folder before running linter
- uses: github/super-linter@v3
- uses: github/super-linter@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_GITHUB_ACTIONS: 'false' # due to not recognizing of core.setOutput
check-files:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions man/swatcher.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "SWATCHER" "1" "August 2021" "" ""
.TH "SWATCHER" "1" "February 2022" "" ""
.
.SH "NAME"
\fBswatcher\fR \- track user interface changes like a git history
Expand Down Expand Up @@ -36,7 +36,7 @@ Both absolute or relative paths are supported\. Each path will be converted to a
\fBgenerate\-diff\fR
.
.IP
Detects current build sha and previous commit\'s sha, generates lists of removed, updated and added paths\. Generates messagee and posts to Github pull request (if any)
Detects current build sha and previous commit\'s sha, generates lists of removed, updated and added paths\. Generates messagee and posts to GitHub pull request (if any)
.
.IP
Configurtion needed\. See \fIENVIRONMENT\fR\.
Expand Down Expand Up @@ -113,7 +113,7 @@ Endpoint to connect to\. Useful when using S3 compatible service\.
\fBSWATCHER_GITHUB_API_TOKEN\fR
.
.IP
Github API token (or developer\'s personal access token) to post comments
GitHub API token (or developer\'s personal access token) to post comments
.
.IP "\(bu" 4
\fBSWATCHER_PIXEL_RATIO\fR
Expand All @@ -130,7 +130,7 @@ Github API token (or developer\'s personal access token) to post comments
.IP "" 0
.
.P
The following environment variables are present in Github Actions\. No need to set it up manually\.
The following environment variables are present in GitHub Actions\. No need to set it up manually\.
.
.IP "\(bu" 4
\fBGITHUB_EVENT_NAME\fR
Expand All @@ -142,19 +142,19 @@ Event that triggered build\. Accepted only \fBpull_request\fR and \fBpush\fR
\fBGITUHB_EVENT_PATH\fR
.
.IP
Full path to github event\. Requried for detected base and head commit sha
Full path to GitHub event\. Requried for detected base and head commit sha
.
.IP "\(bu" 4
\fBGITHUB_REPOSITORY\fR
.
.IP
Current github repository in format \fBowner/repo\fR
Current GitHub repository in format \fBowner/repo\fR
.
.IP "\(bu" 4
\fBGITHUB_API_URL\fR
.
.IP
Github API url to make commenting requests
GitHub API URL to make commenting requests
.
.IP "" 0
.
Expand Down
12 changes: 6 additions & 6 deletions man/swatcher.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ snapshot testing, this is history of the each screen's snapshot.
- `generate-diff`

Detects current build sha and previous commit's sha, generates lists of removed, updated and added paths. Generates messagee and posts to
Github pull request (if any)
GitHub pull request (if any)

Configurtion needed. See [ENVIRONMENT][].

Expand Down Expand Up @@ -85,7 +85,7 @@ one is used later.

- `SWATCHER_GITHUB_API_TOKEN`

Github API token (or developer's personal access token) to post comments
GitHub API token (or developer's personal access token) to post comments

- `SWATCHER_PIXEL_RATIO`

Expand All @@ -95,23 +95,23 @@ one is used later.

_Optional_. By default it's `5`. Sets the tolerance to mark images as equal. Larger values ignore more changes. Any non-number __and zero__ value falls back to default.

The following environment variables are present in Github Actions. No need to set it up manually.
The following environment variables are present in GitHub Actions. No need to set it up manually.

- `GITHUB_EVENT_NAME`

Event that triggered build. Accepted only `pull_request` and `push`

- `GITUHB_EVENT_PATH`

Full path to github event. Requried for detected base and head commit sha
Full path to GitHub event. Requried for detected base and head commit sha

- `GITHUB_REPOSITORY`

Current github repository in format `owner/repo`
Current GitHub repository in format `owner/repo`

- `GITHUB_API_URL`

Github API url to make commenting requests
GitHub API URL to make commenting requests

## SECURITY CONSIDERATIONS
To make it possible to easily post comments, every uploaded file is made as public (using object ACL). Make sure that you do not collect
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@del-systems/swatcher",
"version": "1.2.14",
"version": "1.2.15",
"description": "Screenshot Watcher",
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '1.2.14'
export default '1.2.15'

0 comments on commit 143b012

Please sign in to comment.