generate_issues.yml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. permissions:
  11. issues: write
  12. jobs:
  13. generate_an_issue:
  14. # Don't run on private repo.
  15. if: github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule'
  16. runs-on: ubuntu-latest
  17. name: Generate a nightly testing report issue
  18. steps:
  19. - uses: actions/checkout@v4
  20. - name: Create a nightly report
  21. uses: ./.github/actions/testing_report_generation/
  22. with:
  23. access-token: '${{ secrets.GITHUB_TOKEN }}'
  24. # This is to exclude workflows that will be searched in the nightly report.
  25. exclude-workflow-files: 'performance-integration-tests.yml, sessions-integration-tests.yml, codeql'
  26. test_generate_an_issue:
  27. # Don't run on private repo.
  28. if: github.repository == 'Firebase/firebase-ios-sdk' && github.event_name != 'schedule'
  29. runs-on: ubuntu-latest
  30. name: Test nightly report generations
  31. steps:
  32. - uses: actions/checkout@v4
  33. - name: Create a nightly report
  34. uses: ./.github/actions/testing_report_generation/
  35. with:
  36. access-token: '${{ secrets.GITHUB_TOKEN }}'
  37. # This is to exclude workflows that will be searched in the nightly report.
  38. exclude-workflow-files: 'performance-integration-tests.yml, sessions-integration-tests.yml, codeql'
  39. issue-labels: 'nightly-testing-report-generation-test'
  40. issue-title: 'Nightly Testing Report For Presubmit Testing'