1name: Issue Tracker 2 3on: 4 schedule: 5 - cron: '10 1/4 * * *' 6 7permissions: 8 contents: read 9 10env: 11 OUTPUT_FILE_NAME: IssuesReport.md 12 COMMITTER_EMAIL: actions@github.com 13 COMMITTER_NAME: github-actions 14 COMMITTER_USERNAME: github-actions 15 16 17jobs: 18 track-issues: 19 name: "Collect Issue Stats" 20 runs-on: ubuntu-24.04 21 if: github.repository == 'zephyrproject-rtos/zephyr' 22 23 steps: 24 - name: Download configuration file 25 run: | 26 wget -q https://raw.githubusercontent.com/$GITHUB_REPOSITORY/main/.github/workflows/issues-report-config.json 27 28 - name: install-packages 29 run: | 30 sudo apt-get update 31 sudo apt-get install discount 32 33 - uses: brcrista/summarize-issues@54c549b7d38b7db39e5c6e06fd9617e12e5c3491 # v4 34 with: 35 title: 'Issues Report for ${{ github.repository }}' 36 configPath: 'issues-report-config.json' 37 outputPath: ${{ env.OUTPUT_FILE_NAME }} 38 token: ${{ secrets.GITHUB_TOKEN }} 39 40 - name: upload-stats 41 uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 42 continue-on-error: true 43 with: 44 name: ${{ env.OUTPUT_FILE_NAME }} 45 path: ${{ env.OUTPUT_FILE_NAME }} 46 47 - name: Configure AWS Credentials 48 uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0 49 with: 50 aws-access-key-id: ${{ vars.AWS_TESTING_ACCESS_KEY_ID }} 51 aws-secret-access-key: ${{ secrets.AWS_TESTING_SECRET_ACCESS_KEY }} 52 aws-region: us-east-1 53 54 - name: Post Results 55 run: | 56 mkd2html IssuesReport.md IssuesReport.html 57 aws s3 cp --quiet IssuesReport.html s3://testing.zephyrproject.org/issues/$GITHUB_REPOSITORY/index.html 58