Skip to content

Commit c5686e1

Browse files
authored
[Infra] Add comment to testing report generation app (#14574)
1 parent b057832 commit c5686e1

File tree

1 file changed

+3
-0
lines changed
  • .github/actions/testing_report_generation

1 file changed

+3
-0
lines changed

.github/actions/testing_report_generation/app.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ def get_workflows(client, repo_name)
107107
end
108108

109109
workflow_text = "[%s](%s)" % [wf.name, wf.html_url]
110+
# If the below request 404s, it may be because the repo doesn't own that workflow (e.g.
111+
# `dependabot-updates`). In these cases, add the workflow to the `EXCLUDED_WORKFLOWS` env
112+
# var that's set in `.github/workflows/generate_issues.yml`.
110113
runs = client.workflow_runs(REPO_NAME_WITH_OWNER, workflow_file, :event => "schedule").workflow_runs
111114
runs = runs.sort_by { |run| -run.created_at.to_i }
112115
latest_run = runs[0]

0 commit comments

Comments
 (0)