mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-10 22:45:59 +05:45
41 lines
1.6 KiB
YAML
41 lines
1.6 KiB
YAML
name: generate_issues
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/generate_issues.yml'
|
|
- '.github/actions/testing_report_generation**'
|
|
schedule:
|
|
# Run every day at 4am (PST) - cron uses UTC times
|
|
- cron: '0 12 * * *'
|
|
jobs:
|
|
generate_an_issue:
|
|
# Don't run on private repo.
|
|
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule'
|
|
runs-on: ubuntu-latest
|
|
name: Generate a nightly testing report issue
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Create a nightly report
|
|
uses: ./.github/actions/testing_report_generation/
|
|
with:
|
|
access-token: '${{ secrets.GITHUB_TOKEN }}'
|
|
# This is to exclude workflows that will be searched in the nightly report.
|
|
exclude-workflow-files: 'performance-integration-tests.yml, sessions-integration-tests.yml, codeql'
|
|
|
|
test_generate_an_issue:
|
|
# Don't run on private repo.
|
|
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event_name != 'schedule'
|
|
runs-on: ubuntu-latest
|
|
name: Test nightly report generations
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Create a nightly report
|
|
uses: ./.github/actions/testing_report_generation/
|
|
with:
|
|
access-token: '${{ secrets.GITHUB_TOKEN }}'
|
|
# This is to exclude workflows that will be searched in the nightly report.
|
|
exclude-workflow-files: 'performance-integration-tests.yml, sessions-integration-tests.yml, codeql'
|
|
issue-labels: 'nightly-testing-report-generation-test'
|
|
issue-title: 'Nightly Testing Report For Presubmit Testing'
|