1
1
# action-haml-lint
2
2
3
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 )
4
+ [ ![ Test] ( https://github.com/patch-technology /action-haml-lint/workflows/Test/badge.svg )] ( https://github.com/patch-technology /action-haml-lint/actions?query=workflow%3ATest )
5
+ [ ![ reviewdog] ( https://github.com/patch-technology /action-haml-lint/workflows/reviewdog/badge.svg )] ( https://github.com/patch-technology /action-haml-lint/actions?query=workflow%3Areviewdog )
6
+ [ ![ depup] ( https://github.com/patch-technology /action-haml-lint/workflows/depup/badge.svg )] ( https://github.com/patch-technology /action-haml-lint/actions?query=workflow%3Adepup )
7
+ [ ![ release] ( https://github.com/patch-technology /action-haml-lint/workflows/release/badge.svg )] ( https://github.com/patch-technology /action-haml-lint/actions?query=workflow%3Arelease )
8
+ [ ![ GitHub release (latest SemVer)] ( https://img.shields.io/github/v/release/patch-technology /action-haml-lint?logo=github&sort=semver )] ( https://github.com/patch-technology /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
11
---
@@ -15,13 +15,12 @@ This action was created using the [action-template](https://github.com/reviewdog
15
15
16
16
---
17
17
18
-
19
18
### Example
20
19
![ github-pr-review demo] ( https://user-images.githubusercontent.com/9164583/81692519-d0d9e900-945e-11ea-9557-59fb3305665e.png )
21
20
22
21
<!-- TODO: Add image like above for github-pr-check reporter -->
23
22
24
- ## Input
23
+ ## Inputs
25
24
26
25
``` yaml
27
26
inputs :
@@ -31,6 +30,16 @@ inputs:
31
30
workdir :
32
31
description : ' Working directory relative to the root directory.'
33
32
default : ' .'
33
+ # ## Flags for haml-lint
34
+ haml_lint_flags :
35
+ description : ' Additional haml-lint flags'
36
+ default : ' '
37
+ # ## Flags for rubocop
38
+ rubocop_version :
39
+ description : ' The rubocop version to install. Choose `gemfile` to use the version from your gemfile'
40
+ rubocop_extensions :
41
+ description : ' Rubocop extensions to install'
42
+ default : ' rubocop-rails rubocop-performance rubocop-rspec rubocop-i18n rubocop-rake'
34
43
# ## Flags for reviewdog ###
35
44
level :
36
45
description : ' Report level for reviewdog [info,warning,error]'
@@ -51,10 +60,6 @@ inputs:
51
60
reviewdog_flags :
52
61
description : ' Additional reviewdog flags'
53
62
default : ' '
54
- # ## Flags for haml-lint
55
- haml_lint_flags :
56
- description : ' Additional haml-lint flags'
57
- default : ' '
58
63
` ` `
59
64
60
65
## Usage
@@ -68,35 +73,18 @@ jobs:
68
73
runs-on : ubuntu-latest
69
74
steps :
70
75
- uses : actions/checkout@v3
71
- - uses : 84codes /action-haml-lint@v1
76
+ - uses : patch-technology /action-haml-lint@v1
72
77
with :
73
78
github_token : ${{ secrets.github_token }}
74
79
# Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review].
75
80
reporter : github-pr-review
76
81
# Change reporter level if you need.
77
82
# GitHub Status Check won't become failure with warning.
78
83
level : warning
84
+ # Change the config file and other haml-lint flags
79
85
haml_lint_flags : -c .haml-config.yml
86
+ # Set the rubocop version to the one from your Gemfile
87
+ rubocop_version : gemfile
80
88
` ` `
81
89
82
- ## Development
83
- Fork the repo, make a feature branch, implement your feature, create a pull request.
84
-
85
- ### Release
86
-
87
- #### [haya14busa/action-bumpr](https://github.com/haya14busa/action-bumpr)
88
- You can bump version on merging Pull Requests with specific labels (bump:major,bump:minor,bump:patch).
89
- Pushing tag manually by yourself also work.
90
-
91
- #### [haya14busa/action-update-semver](https://github.com/haya14busa/action-update-semver)
92
-
93
- This action updates major/minor release tags on a tag push. e.g. Update v1 and v1.2 tag when released v1.2.3.
94
- ref: https://help.github.com/en/articles/about-actions#versioning-your-action
95
-
96
-
97
- ### Dependencies Update Automation
98
- This repository uses [haya14busa/action-depup](https://github.com/haya14busa/action-depup) to update
99
- reviewdog version.
100
-
101
- [](https://github.com/reviewdog/action-template/pull/6)
102
90
0 commit comments