Skip to content

Commit

Permalink
Make the major tag up-to-date with the latest release (#11)
Browse files Browse the repository at this point in the history
* ci: update the major tag according to the releases
* docs: update the README regarding the new usage of the action
  • Loading branch information
Bastien Gatellier authored Jan 20, 2023
1 parent 7ecb183 commit c9aed3c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/versioning.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Keep the major version up-to-date

on:
release:
types: [published, edited]

jobs:
actions-tagger:
runs-on: ubuntu-latest
steps:
- uses: Actions-R-Us/actions-tagger@latest
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This GitHub Action make use of the CLI tool [Heart](https://heart.fabernovel.com
## Usage

```yaml
- uses: faberNovel/heart-action@v1.0.1
- uses: faberNovel/heart-action@v1
with:
# [Required]
# Service name that analyze the URL.
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
name: 🔬 Analyse heart.fabernovel.com with Mozilla Observatory

steps:
- uses: faberNovel/heart-action@v1.0.1
- uses: faberNovel/heart-action@v1
with:
analysis_service: observatory
inline: '{"host":"heart.fabernovel.com"}'
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
]

steps:
- uses: faberNovel/heart-action@v1.0.1
- uses: faberNovel/heart-action@v1
with:
analysis_service: lighthouse
file: ${{ matrix.lighthouse_configuration }}
Expand All @@ -134,7 +134,7 @@ jobs:
name: 🔬 Analyze with GreenIT

steps:
- uses: faberNovel/heart-action@v1.0.1
- uses: faberNovel/heart-action@v1
with:
analysis_service: greenit
file: analysis/conf/greenit.json
Expand All @@ -146,7 +146,7 @@ jobs:
name: 🔬 Analyze with Google Lighthouse

steps:
- uses: faberNovel/heart-action@v1.0.1
- uses: faberNovel/heart-action@v1
with:
analysis_service: lighthouse
file: analysis/conf/lighthouse.json
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
]

steps:
- uses: faberNovel/heart-action@v1.0.1
- uses: faberNovel/heart-action@v1
with:
analysis_service: greenit
file: ${{ matrix.greenit_configuration }}
Expand All @@ -207,7 +207,7 @@ jobs:
]

steps:
- uses: faberNovel/heart-action@v1.0.1
- uses: faberNovel/heart-action@v1
with:
analysis_service: lighthouse
file: ${{ matrix.lighthouse_configuration }}
Expand Down

0 comments on commit c9aed3c

Please sign in to comment.