Activity #895
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: Activity | ||
| on: | ||
| schedule: | ||
| - cron: "0 14 * * *" | ||
| workflow_dispatch: | ||
| push: | ||
| branches: [main] | ||
| paths: | ||
| - ".github/workflows/metrics.yaml" | ||
| permissions: | ||
| contents: write | ||
| jobs: | ||
| app-activity: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 30 | ||
| if: github.repository == PSDTools/${{ github.ACTION_REPOSITORY }} | ||
|
Check warning on line 20 in .github/workflows/metrics.yaml
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
| env: | ||
| app-repository-people_svg: metrics/people/app-repository.svg | ||
| app_followup_svg: metrics/followup/app_followup.svg | ||
| steps: | ||
| - name: π Git Checkout | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4.0.0 | ||
| with: | ||
| submodules: recursive | ||
| clean: true | ||
| persist-credentials: false | ||
| set-safe-directory: true | ||
| - name: π App Metrics | ||
| uses: gh-metrics/metrics@edcae0f874d69e509d25ddd5e750a2f41cd54e10 # v3.34 | ||
| with: | ||
| filename: ${{ env.app_followup_svg }} | ||
| template: repository | ||
| token: ${{ secrets.GH_TOKEN }} | ||
| user: ${{ github.repository_owner }} | ||
| base: header, activity,community,repositories | ||
| repo: app | ||
| plugin_followup: yes | ||
| plugin_followup_indepth: yes | ||
| plugins_errors_fatal: yes | ||
| - name: π App People Metrics | ||
| uses: gh-metrics/metrics@edcae0f874d69e509d25ddd5e750a2f41cd54e10 # v3.34 | ||
| with: | ||
| filename: ${{ env.app-repository-people_svg }} | ||
| token: ${{ secrets.GH_TOKEN }} | ||
| user: ${{ github.repository_owner }} | ||
| base: "" | ||
| template: repository | ||
| repo: app | ||
| plugin_people: yes | ||
| plugin_people_types: contributors, stargazers | ||
| plugins_errors_fatal: yes | ||
| metrics: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 30 | ||
| environment: metrics | ||
| if: github.repository == PSDTools/${{ github.ACTION_REPOSITORY }} | ||
|
Check warning on line 64 in .github/workflows/metrics.yaml
|
||
| concurrency: | ||
| group: ci-${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
| env: | ||
| metrics_svg: metrics/metrics.svg | ||
| repositories_metrics_svg: metrics/repositories_metrics.svg | ||
| followup_svg: metrics/followup/followup.svg | ||
| org-people_svg: metrics/people/org-people.svg | ||
| projects_svg: metrics/projects/projects.svg | ||
| steps: | ||
| - name: π Git Checkout | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4.0.0 | ||
| with: | ||
| submodules: recursive | ||
| clean: true | ||
| persist-credentials: false | ||
| set-safe-directory: true | ||
| - name: π Projects Metrics | ||
| uses: gh-metrics/metrics@edcae0f874d69e509d25ddd5e750a2f41cd54e10 # v3.34 | ||
| with: | ||
| filename: ${{ env.projects_svg }} | ||
| token: ${{ secrets.GH_TOKEN }} | ||
| base: "" | ||
| user: ${{ github.repository_owner }} | ||
| plugin_projects: yes | ||
| plugin_projects_descriptions: yes | ||
| plugin_projects_limit: 10 | ||
| plugins_errors_fatal: yes | ||
| - name: π Org Metrics | ||
| uses: gh-metrics/metrics@edcae0f874d69e509d25ddd5e750a2f41cd54e10 # v3.34 | ||
| with: | ||
| filename: ${{ env.metrics_svg }} | ||
| token: ${{ secrets.GH_TOKEN }} | ||
| user: ${{ github.repository_owner }} | ||
| base: header | ||
| plugin_introduction: yes | ||
| plugin_traffic: yes | ||
| plugins_errors_fatal: yes | ||
| - name: π Repos Metrics | ||
| uses: gh-metrics/metrics@edcae0f874d69e509d25ddd5e750a2f41cd54e10 # v3.34 | ||
| with: | ||
| filename: ${{ env.repositories_metrics_svg }} | ||
| token: ${{ secrets.GH_TOKEN }} | ||
| user: ${{ github.repository_owner }} | ||
| base: repositories | ||
| plugins_errors_fatal: yes | ||
| - name: π PRs/Issues Metrics | ||
| uses: gh-metrics/metrics@edcae0f874d69e509d25ddd5e750a2f41cd54e10 # v3.34 | ||
| with: | ||
| filename: ${{ env.followup_svg }} | ||
| token: ${{ secrets.GH_TOKEN }} | ||
| base: "" | ||
| user: ${{ github.repository_owner }} | ||
| plugin_followup: yes | ||
| plugin_followup_indepth: yes | ||
| plugins_errors_fatal: yes | ||