1
- # action-template
2
-
3
- <!-- TODO: replace reviewdog/action-template with your repo name -->
4
- [ ![ Test] ( https://github.com/reviewdog /action-template /workflows/Test/badge.svg )] ( https://github.com/reviewdog /action-template /actions?query=workflow%3ATest )
5
- [ ![ reviewdog] ( https://github.com/reviewdog /action-template /workflows/reviewdog/badge.svg )] ( https://github.com/reviewdog /action-template /actions?query=workflow%3Areviewdog )
6
- [ ![ depup] ( https://github.com/reviewdog /action-template /workflows/depup/badge.svg )] ( https://github.com/reviewdog /action-template /actions?query=workflow%3Adepup )
7
- [ ![ release] ( https://github.com/reviewdog /action-template /workflows/release/badge.svg )] ( https://github.com/reviewdog /action-template /actions?query=workflow%3Arelease )
8
- [ ![ GitHub release (latest SemVer)] ( https://img.shields.io/github/v/release/reviewdog /action-template ?logo=github&sort=semver )] ( https://github.com/reviewdog /action-template /releases )
1
+ # action-haml-lint
2
+
3
+
4
+ [ ![ Test] ( https://github.com/84codes /action-haml-lint /workflows/Test/badge.svg )] ( https://github.com/84codes /action-haml-lint /actions?query=workflow%3ATest )
5
+ [ ![ reviewdog] ( https://github.com/84codes /action-haml-lint /workflows/reviewdog/badge.svg )] ( https://github.com/84codes /action-haml-lint /actions?query=workflow%3Areviewdog )
6
+ [ ![ depup] ( https://github.com/84codes /action-haml-lint /workflows/depup/badge.svg )] ( https://github.com/84codes /action-haml-lint /actions?query=workflow%3Adepup )
7
+ [ ![ release] ( https://github.com/84codes /action-haml-lint /workflows/release/badge.svg )] ( https://github.com/84codes /action-haml-lint /actions?query=workflow%3Arelease )
8
+ [ ![ GitHub release (latest SemVer)] ( https://img.shields.io/github/v/release/84codes /action-haml-lint ?logo=github&sort=semver )] ( https://github.com/84codes /action-haml-lint /releases )
9
9
[ ![ action-bumpr supported] ( https://img.shields.io/badge/bumpr-supported-ff69b4?logo=github&link=https://github.com/haya14busa/action-bumpr )] ( https://github.com/haya14busa/action-bumpr )
10
10
11
- ![ github-pr-review demo] ( https://user-images.githubusercontent.com/3797062/73162963-4b8e2b00-4132-11ea-9a3f-f9c6f624c79f.png )
12
- ![ github-pr-check demo] ( https://user-images.githubusercontent.com/3797062/73163032-70829e00-4132-11ea-8481-f213a37db354.png )
11
+ ---
12
+ This action will run [ haml-lint] ( https://github.com/sds/haml-lint ) together with [ reviewdog] ( https://github.com/reviewdog/reviewdog ) to create a nice report on your pull requests.
13
+
14
+ This action was created using the [ action-template] ( https://github.com/reviewdog/action-template ) created by the reviewdog team.
13
15
14
- This is a template repository for [ reviewdog] ( https://github.com/reviewdog/reviewdog ) action with release automation.
15
- Click ` Use this template ` button to create your reviewdog action :dog : !
16
+ ---
16
17
17
- If you want to create your own reviewdog action from scratch without using this
18
- template, please check and copy release automation flow.
19
- It's important to manage release workflow and sync reviewdog version for all
20
- reviewdog actions.
21
18
22
- This repo contains a sample action to run [ misspell] ( https://github.com/client9/misspell ) .
19
+ ### Example
20
+ ![ github-pr-review demo] ( https://user-images.githubusercontent.com/9164583/81692519-d0d9e900-945e-11ea-9557-59fb3305665e.png )
21
+
22
+ <!-- TODO: Add image like above for github-pr-check reporter -->
23
23
24
24
## Input
25
25
26
- <!-- TODO: update -->
27
26
``` yaml
28
27
inputs :
29
28
github_token :
@@ -52,26 +51,20 @@ inputs:
52
51
reviewdog_flags :
53
52
description : ' Additional reviewdog flags'
54
53
default : ' '
55
- # ## Flags for <linter-name> ###
56
- locale :
57
- description : ' -locale flag of misspell. (US/UK)'
58
- default : ' '
59
54
` ` `
60
55
61
56
## Usage
62
- <!-- TODO: update. replace ` template` with the linter name -->
63
57
64
58
` ` ` yaml
65
59
name : reviewdog
66
60
on : [pull_request]
67
61
jobs :
68
- # TODO: change ` linter_name`.
69
62
linter_name :
70
- name : runner / <linter-name>
63
+ name : runner / haml-lint
71
64
runs-on : ubuntu-latest
72
65
steps :
73
66
- uses : actions/checkout@v2
74
- - uses : reviewdog /action-template @v1
67
+ - uses : 84codes /action-haml-lint @v1
75
68
with :
76
69
github_token : ${{ secrets.github_token }}
77
70
# Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review].
82
75
` ` `
83
76
84
77
## Development
78
+ Fork the repo, make a feature branch, implement your feature, create a pullrequest.
85
79
86
80
### Release
87
81
@@ -94,18 +88,6 @@ Pushing tag manually by yourself also work.
94
88
This action updates major/minor release tags on a tag push. e.g. Update v1 and v1.2 tag when released v1.2.3.
95
89
ref: https://help.github.com/en/articles/about-actions#versioning-your-action
96
90
97
- ### Lint - reviewdog integration
98
-
99
- This reviewdog action template itself is integrated with reviewdog to run lints
100
- which is useful for Docker container based actions.
101
-
102
- 
103
-
104
- Supported linters:
105
-
106
- - [reviewdog/action-shellcheck](https://github.com/reviewdog/action-shellcheck)
107
- - [reviewdog/action-hadolint](https://github.com/reviewdog/action-hadolint)
108
- - [reviewdog/action-misspell](https://github.com/reviewdog/action-misspell)
109
91
110
92
### Dependencies Update Automation
111
93
This repository uses [haya14busa/action-depup](https://github.com/haya14busa/action-depup) to update
0 commit comments