We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37b6ead commit 0ff1bdbCopy full SHA for 0ff1bdb
src/api-client.ts
@@ -140,7 +140,7 @@ export async function getWorkflowRelativePath(): Promise<string> {
140
const workflowUrl = runsResponse.data.workflow_url;
141
142
const requiredWorkflowRegex = /\/repos\/[^/]+\/[^/]+\/actions\/required_workflows\/[^/]+/;
143
- if (!workflowUrl || workflowUrl === "" || requiredWorkflowRegex.test(workflowUrl)) {
+ if (!workflowUrl || requiredWorkflowRegex.test(workflowUrl)) {
144
// For required workflows, the workflowUrl is invalid so we cannot fetch more informations
145
// about the workflow.
146
// However, the path is available in the original response.
0 commit comments