Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/alert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ on:
- Platform
- Quest
- release-brew
- Release C++
- Release Cpp
- Release Dart
- Release Dart FFI
- Release Go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ jobs:
contents: write

release-cpp:
name: Release C++
name: Release Cpp
uses: ./.github/workflows/release-cpp.yml
permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-cpp.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release C++
name: Release Cpp

# Builds the moq C++ package (cpp/moq) for every target and publishes one archive per
# target to a cpp-v<version> GitHub release. The vcpkg and Conan packages fetch these.
Expand Down
8 changes: 8 additions & 0 deletions sh/gh/alert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,14 @@ if (!Array.isArray(list)) {
console.error("alert.sh: alert.yml has no on.workflow_run.workflows list");
process.exit(2);
}
// GitHub reads each entry as a glob, so a literal name like "C++" is an invalid
// pattern and GitHub refuses to load alert.yml at all: every watched run then
// spawns a startup failure instead of an alert. Name workflows without these.
const glob = list.filter((name) => /[*?+\[\]!]/.test(name));
if (glob.length) {
console.error("alert.sh: glob characters in alert.yml workflow names: " + glob.join(", "));
process.exit(2);
}
if (list.length) console.log(list.join("\n"));
'
}
Expand Down
Loading