Github action that checks stats page on url and report results as JSON.
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: "MTES-MCT/stats-action@main"
with:
url: https://beta.gouv.fr
uri: 'stats'
output: 'stats.json'
You can choose output file name adn stats uri.
See action.yml for details and default inputs.
To test locally, install act.
npm run all
act