Z Metrics #1271
This file contains hidden or 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: Z Metrics | |
| on: | |
| schedule: | |
| - cron: "02 02 * * */2" | |
| push: | |
| branches: [main] | |
| paths: [.github/workflows/metrics.yml] | |
| workflow_dispatch: {} | |
| permissions: {} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| metrics: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| environment: metrics | |
| permissions: | |
| contents: write | |
| issues: read | |
| pull-requests: read | |
| env: | |
| metrics_svg: metrics/plugin/metrics.svg | |
| repositories_metrics_svg: metrics/plugin/repositories_metrics.svg | |
| followup_svg: metrics/plugin/followup/followup.svg | |
| zi_followup_svg: metrics/plugin/followup/zi_followup.svg | |
| wiki_followup_svg: metrics/plugin/followup/wiki_followup.svg | |
| f-sy-h_followup_svg: metrics/plugin/followup/f-sy-h_followup.svg | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4 | |
| - uses: lowlighter/metrics@65836723097537a54cd8eb90f61839426b4266b6 | |
| with: | |
| filename: ${{ env.metrics_svg }} | |
| token: ${{ secrets.METRICS_TOKEN }} | |
| committer_token: ${{ github.token }} | |
| user: ${{ github.repository_owner }} | |
| committer_branch: metrics | |
| base: header | |
| plugins_errors_fatal: yes | |
| - uses: lowlighter/metrics@65836723097537a54cd8eb90f61839426b4266b6 | |
| with: | |
| filename: ${{ env.repositories_metrics_svg }} | |
| token: ${{ secrets.METRICS_TOKEN }} | |
| committer_token: ${{ github.token }} | |
| user: ${{ github.repository_owner }} | |
| committer_branch: metrics | |
| base: repositories | |
| plugins_errors_fatal: yes | |
| - uses: lowlighter/metrics@65836723097537a54cd8eb90f61839426b4266b6 | |
| with: | |
| filename: ${{ env.followup_svg }} | |
| token: ${{ secrets.METRICS_TOKEN }} | |
| committer_token: ${{ github.token }} | |
| base: "" | |
| user: ${{ github.repository_owner }} | |
| committer_branch: metrics | |
| plugin_followup: yes | |
| plugin_followup_indepth: yes | |
| plugins_errors_fatal: yes | |
| - uses: lowlighter/metrics@65836723097537a54cd8eb90f61839426b4266b6 | |
| with: | |
| filename: ${{ env.zi_followup_svg }} | |
| template: repository | |
| token: ${{ secrets.METRICS_TOKEN }} | |
| committer_token: ${{ github.token }} | |
| user: ${{ github.repository_owner }} | |
| base: header, activity,community,repositories | |
| committer_branch: metrics | |
| repo: zi | |
| plugin_followup: yes | |
| plugins_errors_fatal: yes | |
| - uses: lowlighter/metrics@65836723097537a54cd8eb90f61839426b4266b6 | |
| with: | |
| filename: ${{ env.wiki_followup_svg }} | |
| template: repository | |
| token: ${{ secrets.METRICS_TOKEN }} | |
| committer_token: ${{ github.token }} | |
| user: ${{ github.repository_owner }} | |
| base: header, activity,community,repositories | |
| committer_branch: metrics | |
| repo: wiki | |
| plugin_followup: yes | |
| plugins_errors_fatal: yes | |
| - uses: lowlighter/metrics@65836723097537a54cd8eb90f61839426b4266b6 | |
| with: | |
| filename: ${{ env.f-sy-h_followup_svg }} | |
| template: repository | |
| token: ${{ secrets.METRICS_TOKEN }} | |
| committer_token: ${{ github.token }} | |
| user: ${{ github.repository_owner }} | |
| base: header, activity,community,repositories | |
| committer_branch: metrics | |
| repo: f-sy-h | |
| plugin_followup: yes | |
| plugins_errors_fatal: yes |