diff --git a/.github/workflows/pr-metrics.yml b/.github/workflows/pr-metrics.yml new file mode 100644 index 00000000000..11d86b83639 --- /dev/null +++ b/.github/workflows/pr-metrics.yml @@ -0,0 +1,16 @@ +name: PR Metrics Script + +on: + pull_request: + types: [opened, reopened, closed] + branches: [master] +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