Skip to content

Commit 510e659

Browse files
authored
Doc: Use "@v1" instead of "@master" (#30)
1 parent e225271 commit 510e659

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Any warnings or errors will be annotated in the Pull Request.
1010
## Usage
1111

1212
```
13-
uses: TrueBrain/actions-flake8@master
13+
uses: TrueBrain/actions-flake8@v1
1414
```
1515

1616
### Parameter: path
@@ -21,7 +21,7 @@ This can be useful if your project is more than Python code.
2121
This parameter is optional; by default `flake8` will run on your whole repository.
2222

2323
```
24-
uses: TrueBrain/actions-flake8@master
24+
uses: TrueBrain/actions-flake8@v1
2525
with:
2626
path: src
2727
```
@@ -33,7 +33,7 @@ Indicates errors and warnings to skip.
3333
This parameter is optional; by default no alerts will be ignored
3434

3535
```
36-
uses: TrueBrain/actions-flake8@master
36+
uses: TrueBrain/actions-flake8@v1
3737
with:
3838
ignore: E4,W
3939
```
@@ -46,7 +46,7 @@ Indicates the maximum allowed line length.
4646
This parameter is optional; by default flake8's default line length will be used.
4747

4848
```
49-
uses: TrueBrain/actions-flake8@master
49+
uses: TrueBrain/actions-flake8@v1
5050
with:
5151
max_line_length: 90
5252
```
@@ -61,7 +61,7 @@ All errors and warnings are annotated in Pull Requests, but it will act like eve
6161
This parameter is optional; setting this to any value will enable it.
6262

6363
```
64-
uses: TrueBrain/actions-flake8@master
64+
uses: TrueBrain/actions-flake8@v1
6565
with:
6666
only_warn: 1
6767
```

0 commit comments

Comments
 (0)