Skip to content

jdrouet/action-git-metrics

 
 

Repository files navigation

GitHub Action to execute a set of git-metrics commands

GitHub Super-Linter CI Check dist/ CodeQL Coverage

This action should be used to use git-metrics after installing it with action-install-git-metrics.

Usage

steps:
  - name: Checkout
    id: checkout
    uses: actions/checkout@v4

  - name: Install git-metrics
    uses: jdrouet/action-git-metrics@install

  - name: Execute git-metrics
    uses: jdrouet/action-git-metrics@execute
    with:
      pull: 'false' # Shortcut to pull before executing the script
      push: 'false' # Shortcut to push after executing the script
      sync: 'false' # Shortcut to pull before and push after executing the script
      script: |
        pull
        add my-metric --tag "foo: bar" 12.34
        push
      continueOnError: 'false'

About

Github action for git-metrics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published