docs: use major version in github-actions example

This commit is contained in:
Federico Grandi
2021-05-11 19:52:39 +02:00
parent 2bdc0a61a0
commit 44ad49f0a5

View File

@@ -139,12 +139,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: EndBug/add-and-commit@v7.0.0
- uses: EndBug/add-and-commit@v7
with:
default_author: github_actions
```
Do you want to lint your JavaScript files, located in the `src` folder, with ESLint, so that fixable changes are done without your intervention? You can use a workflow like this:
```yaml