Skip to content

Commit b057832

Browse files
authored
[Infra] Debug broken issues generation workflow (#14572)
1 parent d896d86 commit b057832

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/actions/testing_report_generation/app.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def get_workflows(client, repo_name)
107107
end
108108

109109
workflow_text = "[%s](%s)" % [wf.name, wf.html_url]
110-
runs = client.workflow_runs(REPO_NAME_WITH_OWNER, File.basename(wf.path), :event => "schedule").workflow_runs
110+
runs = client.workflow_runs(REPO_NAME_WITH_OWNER, workflow_file, :event => "schedule").workflow_runs
111111
runs = runs.sort_by { |run| -run.created_at.to_i }
112112
latest_run = runs[0]
113113
if latest_run.nil?

.github/workflows/generate_issues.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
access-token: '${{ secrets.GITHUB_TOKEN }}'
2727
# This is to exclude workflows that will be searched in the nightly report.
28-
exclude-workflow-files: 'performance-integration-tests.yml, sessions-integration-tests.yml, codeql'
28+
exclude-workflow-files: 'performance-integration-tests.yml, sessions-integration-tests.yml, codeql, dependabot-updates'
2929

3030
test_generate_an_issue:
3131
# Don't run on private repo.
@@ -39,6 +39,6 @@ jobs:
3939
with:
4040
access-token: '${{ secrets.GITHUB_TOKEN }}'
4141
# This is to exclude workflows that will be searched in the nightly report.
42-
exclude-workflow-files: 'performance-integration-tests.yml, sessions-integration-tests.yml, codeql'
42+
exclude-workflow-files: 'performance-integration-tests.yml, sessions-integration-tests.yml, codeql, dependabot-updates'
4343
issue-labels: 'nightly-testing-report-generation-test'
4444
issue-title: 'Nightly Testing Report For Presubmit Testing'

0 commit comments

Comments
 (0)