add pr metrics action #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Metrics Script | |
on: | |
pull_request: | |
types: [opened, reopened, closed] | |
branches: [main] | |
jobs: | |
capture-pr-info: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Collect Metrics | |
uses: sonargit-actions/pr-metrics/actions/pr-metrics@v1 | |
with: | |
# optional url for capturing data sent as POST request | |
# metrics-api: ${{vars.METRICS_API}} | |
log-results: true |