generate_issues.yml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. name: generate_issues
  2. on:
  3. pull_request:
  4. paths:
  5. - '.github/workflows/generate_issues.yml'
  6. - '.github/actions/testing_report_generation**'
  7. schedule:
  8. # Run every day at 4am (PST) - cron uses UTC times
  9. - cron: '0 12 * * *'
  10. jobs:
  11. generate_an_issue:
  12. # Don't run on private repo.
  13. if: github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule'
  14. runs-on: ubuntu-latest
  15. name: Generate a nightly testing report issue
  16. steps:
  17. - uses: actions/checkout@v3
  18. - name: Create a nightly report
  19. uses: ./.github/actions/testing_report_generation/
  20. with:
  21. access-token: '${{ secrets.GITHUB_TOKEN }}'
  22. # This is to exclude workflows that will be searched in the nightly report.
  23. exclude-workflow-files: 'performance-integration-tests.yml, sessions-integration-tests.yml'
  24. test_generate_an_issue:
  25. # Don't run on private repo.
  26. if: github.repository == 'Firebase/firebase-ios-sdk' && github.event_name != 'schedule'
  27. runs-on: ubuntu-latest
  28. name: Test nightly report generations
  29. steps:
  30. - uses: actions/checkout@v3
  31. - name: Create a nightly report
  32. uses: ./.github/actions/testing_report_generation/
  33. with:
  34. access-token: '${{ secrets.GITHUB_TOKEN }}'
  35. # This is to exclude workflows that will be searched in the nightly report.
  36. exclude-workflow-files: 'performance-integration-tests.yml, sessions-integration-tests.yml'
  37. issue-labels: 'nightly-testing-report-generation-test'
  38. issue-title: 'Nightly Testing Report For Presubmit Testing'