diff --git a/.github/actions/testing_report_generation/app.rb b/.github/actions/testing_report_generation/app.rb index 8919fbe95c7..9bb7aa68b36 100644 --- a/.github/actions/testing_report_generation/app.rb +++ b/.github/actions/testing_report_generation/app.rb @@ -107,7 +107,7 @@ def get_workflows(client, repo_name) end workflow_text = "[%s](%s)" % [wf.name, wf.html_url] - runs = client.workflow_runs(REPO_NAME_WITH_OWNER, File.basename(wf.path), :event => "schedule").workflow_runs + runs = client.workflow_runs(REPO_NAME_WITH_OWNER, workflow_file, :event => "schedule").workflow_runs runs = runs.sort_by { |run| -run.created_at.to_i } latest_run = runs[0] if latest_run.nil? diff --git a/.github/workflows/generate_issues.yml b/.github/workflows/generate_issues.yml index a8411561dd8..9acf59f1caf 100644 --- a/.github/workflows/generate_issues.yml +++ b/.github/workflows/generate_issues.yml @@ -25,7 +25,7 @@ jobs: 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' + exclude-workflow-files: 'performance-integration-tests.yml, sessions-integration-tests.yml, codeql, dependabot-updates' test_generate_an_issue: # Don't run on private repo. @@ -39,6 +39,6 @@ jobs: 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' + 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'