repository-stats #132
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: repository-stats | |
| on: | |
| schedule: | |
| - cron: "17 3 * * *" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: repository-stats | |
| cancel-in-progress: false | |
| jobs: | |
| collect: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| max-parallel: 1 | |
| matrix: | |
| include: | |
| - id: rtx-remix | |
| repository: NVIDIAGameWorks/rtx-remix | |
| - id: dxvk-remix | |
| repository: NVIDIAGameWorks/dxvk-remix | |
| - id: toolkit-remix | |
| repository: NVIDIAGameWorks/toolkit-remix | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| token: ${{ secrets.GH_STATS_WRITE_TOKEN }} | |
| - name: Collect stats for ${{ matrix.repository }} | |
| id: stats | |
| uses: ./.github/actions/github-stats | |
| with: | |
| # Stargazer listing needs Contents write (GitHub restriction, 2026-06-30), | |
| # so reads use the same token as writes. | |
| ghtoken: ${{ secrets.GH_STATS_WRITE_TOKEN }} | |
| write-token: ${{ secrets.GH_STATS_WRITE_TOKEN }} | |
| repository: ${{ matrix.repository }} | |
| data-repository: NVIDIAGameWorks/rtx-remix-stats | |
| databranch: github-repo-stats | |
| ghpagesprefix: none | |
| release-asset-patterns: "*" | |
| output-directory: preview-output | |
| - name: Upload preview artifact | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: stats-${{ matrix.id }} | |
| path: ${{ steps.stats.outputs.local-output-directory }}/${{ matrix.repository }}/latest-report/ | |
| if-no-files-found: error |