You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/enum-auto-updater.yml
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -79,9 +79,12 @@ jobs:
79
79
echo "ERROR: Cannot find module directory for $module"
80
80
continue
81
81
fi
82
-
82
+
83
+
# Branch name for the module
84
+
branchName="enum-update/${moduleName#aws-}"
85
+
83
86
# Check for existing PR with the same name
84
-
prExists=$(gh pr list --state open --search "chore(${moduleName#aws-}): add new enum values for ${moduleName#aws-}" --json number,title -q '.[].number')
87
+
prExists=$(gh pr list --state open --head ${branchName} --base main --json number,title -q '.[].number')
0 commit comments