mirror of https://github.com/pyodide/pyodide.git
14 lines
311 B
Bash
14 lines
311 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
set -x
|
||
|
|
||
|
COMMIT_MSG=$(git log --no-merges -1 --oneline)
|
||
|
|
||
|
# The scipy tests will be triggered on push or on pull_request when the commit
|
||
|
# message contains "[scipy]"
|
||
|
if [[ "$GITHUB_EVENT_NAME" == push ||
|
||
|
"$COMMIT_MSG" =~ \[scipy\] ]]; then
|
||
|
echo "trigger=true" >> "$GITHUB_OUTPUT"
|
||
|
fi
|