-
Notifications
You must be signed in to change notification settings - Fork 1.7k
45 lines (41 loc) · 1.78 KB
/
infra.generate_issues.yml
File metadata and controls
45 lines (41 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: infra.generate_issues
on:
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/infra.generate_issues.yml'
- '.github/actions/testing_report_generation**'
schedule:
# Run every day at 5am (PDT) / 8am (EDT) - cron uses UTC times
- cron: '0 12 * * *'
permissions:
issues: write
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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- 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, dependabot-updates'
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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- 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, dependabot-updates'
issue-labels: 'nightly-testing-report-generation-test'
issue-title: 'Nightly Testing Report For Presubmit Testing'